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

Issue 558021: Fix Mac crash when page goes away while a pop-up menu is active. (Closed)

Created:
10 years, 11 months ago by Jens Alfke
Modified:
9 years, 7 months ago
CC:
chromium-reviews_googlegroups.com, brettw+cc_chromium.org, ben+cc_chromium.org, John Grabowski, jam, pam+watch_chromium.org, darin (slow to review)
Visibility:
Public.

Description

Fix Mac crash when page goes away while a pop-up menu is active. This may also fix the older related bug 31716. BUG=33250 TEST=see steps to reproduce in the bug report Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=37438

Patch Set 1 #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+15 lines, -3 lines) Patch
M chrome/browser/renderer_host/render_widget_host_view_mac.mm View 3 chunks +15 lines, -3 lines 2 comments Download

Messages

Total messages: 12 (0 generated)
Jens Alfke
I believe this should also fix 31716, unless there's some other very different scenario that ...
10 years, 11 months ago (2010-01-28 18:50:05 UTC) #1
viettrungluu
On 2010/01/28 18:50:05, Jens Alfke wrote: > I believe this should also fix 31716, unless ...
10 years, 11 months ago (2010-01-28 19:00:26 UTC) #2
Scott Hess - ex-Googler
NOT LGTM! http://codereview.chromium.org/558021/diff/1/2 File chrome/browser/renderer_host/render_widget_host_view_mac.mm (right): http://codereview.chromium.org/558021/diff/1/2#newcode402 chrome/browser/renderer_host/render_widget_host_view_mac.mm:402: ([cocoa_view_ retain]); None of the code in ...
10 years, 11 months ago (2010-01-28 19:02:13 UTC) #3
Scott Hess - ex-Googler
On 2010/01/28 19:00:26, viettrungluu wrote: > On 2010/01/28 18:50:05, Jens Alfke wrote: > > I ...
10 years, 11 months ago (2010-01-28 19:02:55 UTC) #4
viettrungluu
LGTM withdrawn, I guess. On 2010/01/28 19:02:55, shess wrote: > On 2010/01/28 19:00:26, viettrungluu wrote: ...
10 years, 11 months ago (2010-01-28 19:04:54 UTC) #5
Scott Hess - ex-Googler
On Thu, Jan 28, 2010 at 11:04 AM, <viettrungluu@chromium.org> wrote: >> Cocoa menus cannot be ...
10 years, 11 months ago (2010-01-28 19:09:27 UTC) #6
Jens Alfke
On 2010/01/28 19:02:13, shess wrote: > None of the code in question references cocoa_view_, I ...
10 years, 11 months ago (2010-01-28 19:10:53 UTC) #7
viettrungluu
On 2010/01/28 19:09:27, shess wrote: > On Thu, Jan 28, 2010 at 11:04 AM, <mailto:viettrungluu@chromium.org> ...
10 years, 11 months ago (2010-01-28 19:21:13 UTC) #8
Scott Hess - ex-Googler
OK. I think I see where I went wrong - Destroy() is reflecting through the ...
10 years, 11 months ago (2010-01-28 19:28:42 UTC) #9
viettrungluu
I'll also re-instate my LGTM then. :-)
10 years, 11 months ago (2010-01-28 20:25:26 UTC) #10
Scott Hess - ex-Googler
BTW, it does occur to me that this might be fixing a symptom, rather than ...
10 years, 11 months ago (2010-01-28 20:37:47 UTC) #11
Jens Alfke
10 years, 11 months ago (2010-01-28 21:05:11 UTC) #12
On 2010/01/28 19:28:42, shess wrote:
>  If your change would hold the tab up until after the popup runs, then get
> back to me?

No, my change doesn't affect the tab, only the pop-up. I'll merge, test and
commit, then. Thanks.

Powered by Google App Engine
This is Rietveld 408576698