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

Issue 1237004: Views: fix a crash where in the browser actions container.... (Closed)

Created:
10 years, 9 months ago by Evan Stade
Modified:
9 years, 6 months ago
Reviewers:
dmazzoni, sky
CC:
chromium-reviews, ben+cc_chromium.org
Visibility:
Public.

Description

Views: fix a crash where in the browser actions container. This crash didn't actually affect linux/views (for some reason the RunContextMenu() call seems to never return). BUG=38964 TEST=crash an extension while the context menu for it is showing. Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=42703

Patch Set 1 #

Patch Set 2 : '' #

Total comments: 2

Patch Set 3 : '' #

Patch Set 4 : '' #

Total comments: 1

Patch Set 5 : '' #

Patch Set 6 : '' #

Unified diffs Side-by-side diffs Delta from patch set Stats (+44 lines, -23 lines) Patch
M chrome/browser/views/browser_actions_container.h View 1 2 3 4 4 chunks +11 lines, -3 lines 0 comments Download
M chrome/browser/views/browser_actions_container.cc View 1 2 3 4 4 chunks +17 lines, -1 line 0 comments Download
M views/controls/menu/native_menu_gtk.h View 2 chunks +4 lines, -4 lines 0 comments Download
M views/controls/menu/native_menu_gtk.cc View 1 2 5 chunks +12 lines, -15 lines 0 comments Download

Messages

Total messages: 10 (0 generated)
Evan Stade
Do you guys know how I can make a change to native_menu_win that is equivalent ...
10 years, 9 months ago (2010-03-25 01:31:16 UTC) #1
Evan Stade
btw, here is some background on the windows crash: "If the button is destroyed in ...
10 years, 9 months ago (2010-03-25 01:35:03 UTC) #2
dmazzoni
If I understand correctly, the user right-clicks on a browser action button, and then while ...
10 years, 9 months ago (2010-03-25 02:22:46 UTC) #3
Evan Stade
On 2010/03/25 02:22:46, Dominic Mazzoni wrote: > If I understand correctly, the user right-clicks on ...
10 years, 9 months ago (2010-03-25 02:33:13 UTC) #4
dmazzoni
I guess two things bother me: One is that after context_menu_menu_->RunContextMenuAt(point) returns, |this| could point ...
10 years, 9 months ago (2010-03-25 02:50:03 UTC) #5
sky
I agree with Dominic here. Callers should close the menu if it no longer makes ...
10 years, 9 months ago (2010-03-25 15:36:30 UTC) #6
Evan Stade
new patch uploaded > One is that after context_menu_menu_->RunContextMenuAt(point) returns, |this| > could point to ...
10 years, 9 months ago (2010-03-25 18:56:54 UTC) #7
sky
LGTM with the following change. http://codereview.chromium.org/1237004/diff/23001/24001 File chrome/browser/views/browser_actions_container.h (right): http://codereview.chromium.org/1237004/diff/23001/24001#newcode103 chrome/browser/views/browser_actions_container.h:103: virtual ~BrowserActionButton(); Move implementation ...
10 years, 9 months ago (2010-03-25 19:15:00 UTC) #8
dmazzoni
LGTM I'm assuming this fixes the problem on Windows too now? Like you said, we'll ...
10 years, 9 months ago (2010-03-25 19:18:10 UTC) #9
Evan Stade
10 years, 9 months ago (2010-03-25 21:16:45 UTC) #10
yes, it works on windows. Please note change to native_menu_gtk to get it to
work on linux/views.

Powered by Google App Engine
This is Rietveld 408576698