Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2)

Issue 12572006: Fix crash in extension_popup_controller.mm appearing when devtools is closed (Closed)

Created:
7 years, 9 months ago by not at google - send to devlin
Modified:
7 years, 8 months ago
Reviewers:
Yoyo Zhou, Nico, Matt Perry
CC:
chromium-reviews, Aaron Boodman, sail+watch_chromium.org, chromium-apps-reviews_chromium.org
Visibility:
Public.

Description

Fix crash in extension_popup_controller.mm appearing when devtools is closed on an inspected popup. BUG=196812 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=193332

Patch Set 1 #

Total comments: 2

Patch Set 2 : rvh -> render_view_host #

Patch Set 3 : add reset back #

Unified diffs Side-by-side diffs Delta from patch set Stats (+9 lines, -8 lines) Patch
M chrome/browser/ui/cocoa/extensions/extension_popup_controller.mm View 1 2 4 chunks +9 lines, -8 lines 0 comments Download

Messages

Total messages: 26 (0 generated)
Matt Perry
lgtm https://codereview.chromium.org/12572006/diff/1/chrome/browser/ui/cocoa/extensions/extension_popup_controller.mm File chrome/browser/ui/cocoa/extensions/extension_popup_controller.mm (right): https://codereview.chromium.org/12572006/diff/1/chrome/browser/ui/cocoa/extensions/extension_popup_controller.mm#newcode125 chrome/browser/ui/cocoa/extensions/extension_popup_controller.mm:125: RenderViewHost* rvh_; nit: don't abbrev member vars
7 years, 9 months ago (2013-03-15 22:55:46 UTC) #1
not at google - send to devlin
+thakis https://codereview.chromium.org/12572006/diff/1/chrome/browser/ui/cocoa/extensions/extension_popup_controller.mm File chrome/browser/ui/cocoa/extensions/extension_popup_controller.mm (right): https://codereview.chromium.org/12572006/diff/1/chrome/browser/ui/cocoa/extensions/extension_popup_controller.mm#newcode125 chrome/browser/ui/cocoa/extensions/extension_popup_controller.mm:125: RenderViewHost* rvh_; On 2013/03/15 22:55:46, Matt Perry wrote: ...
7 years, 9 months ago (2013-03-15 23:49:53 UTC) #2
Nico
yoz touched this recently I think. yoz, does this make sense for you? Is it ...
7 years, 9 months ago (2013-03-15 23:50:53 UTC) #3
not at google - send to devlin
yoz has been out for the day, and his comment about testing still applies I ...
7 years, 9 months ago (2013-03-15 23:52:51 UTC) #4
Yoyo Zhou
Should this have a TEST=?
7 years, 9 months ago (2013-03-18 18:45:07 UTC) #5
not at google - send to devlin
On 2013/03/18 18:45:07, Yoyo Zhou wrote: > Should this have a TEST=? No, but only ...
7 years, 9 months ago (2013-03-18 18:59:05 UTC) #6
Yoyo Zhou
LGTM. Seems reasonable, but I can't reproduce this.
7 years, 9 months ago (2013-03-18 19:29:17 UTC) #7
not at google - send to devlin
thakis?
7 years, 9 months ago (2013-03-18 19:52:22 UTC) #8
Yoyo Zhou
On 2013/03/18 19:29:17, Yoyo Zhou wrote: > LGTM. Seems reasonable, but I can't reproduce this. ...
7 years, 9 months ago (2013-03-18 20:20:53 UTC) #9
not at google - send to devlin
> > Actually, the change to -windowWillClose: reintroduces the crash in > crbug.com/161604. Oops. Maybe ...
7 years, 9 months ago (2013-03-18 20:23:12 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/kalman@chromium.org/12572006/13001
7 years, 9 months ago (2013-03-22 00:33:45 UTC) #11
commit-bot: I haz the power
Presubmit check for 12572006-13001 failed and returned exit status 1. INFO:root:Found 1 file(s). Running presubmit ...
7 years, 9 months ago (2013-03-22 00:33:48 UTC) #12
Yoyo Zhou
thakis: I was able to verify that this fixes the crash reported in crbug.com/224544. (kalman ...
7 years, 9 months ago (2013-03-29 01:25:36 UTC) #13
Nico
yoz: I don't understand this change well. If the extension host can go away, why ...
7 years, 9 months ago (2013-03-29 02:48:29 UTC) #14
Yoyo Zhou
On 2013/03/29 02:48:29, Nico wrote: > yoz: I don't understand this change well. If the ...
7 years, 9 months ago (2013-03-29 05:12:30 UTC) #15
Nico
On 2013/03/29 05:12:30, Yoyo Zhou wrote: > On 2013/03/29 02:48:29, Nico wrote: > > yoz: ...
7 years, 9 months ago (2013-03-29 05:23:27 UTC) #16
Matt Perry
I think the key here is that the render_view_host_ is not dereferenced. The extension host ...
7 years, 8 months ago (2013-03-29 22:25:22 UTC) #17
Nico
On Fri, Mar 29, 2013 at 3:25 PM, <mpcomplete@chromium.org> wrote: > I think the key ...
7 years, 8 months ago (2013-03-29 22:28:05 UTC) #18
not at google - send to devlin
> > That's pretty subtle though, and it's not needed on views/gtk. I presume the ...
7 years, 8 months ago (2013-04-02 03:43:37 UTC) #19
Nico
On Mon, Apr 1, 2013 at 8:43 PM, <kalman@chromium.org> wrote: > > That's pretty subtle ...
7 years, 8 months ago (2013-04-02 04:26:32 UTC) #20
not at google - send to devlin
> > As I said to yoz upthread, I don't see why that's true as ...
7 years, 8 months ago (2013-04-02 04:36:20 UTC) #21
Yoyo Zhou
On 2013/04/02 04:36:20, kalman wrote: > > > > As I said to yoz upthread, ...
7 years, 8 months ago (2013-04-09 20:09:11 UTC) #22
Matt Perry
I'm OK with holding onto either the ExtensionHost or RenderViewHost. LGTM either way.
7 years, 8 months ago (2013-04-09 20:11:19 UTC) #23
Nico
As said above, this feels wrong to me, but if this lgtmp, it also lgtm. ...
7 years, 8 months ago (2013-04-09 20:14:35 UTC) #24
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/kalman@chromium.org/12572006/13001
7 years, 8 months ago (2013-04-09 22:36:40 UTC) #25
commit-bot: I haz the power
7 years, 8 months ago (2013-04-10 06:30:35 UTC) #26
Message was sent while issue was closed.
Change committed as 193332

Powered by Google App Engine
This is Rietveld 408576698