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

Issue 160458: Fixes possible crash in bookmark menus. Specifically if you had a menu... (Closed)

Created:
11 years, 4 months ago by sky
Modified:
9 years, 7 months ago
CC:
chromium-reviews_googlegroups.com, Ben Goodger (Google)
Visibility:
Public.

Description

Fixes possible crash in bookmark menus. Specifically if you had a menu showing and brought up the context menu and clicked a separator we would do the wrong thing. We would try to show the first menu again, without cancelling out of the inner loop, which would most likely result in a crash. The right thing to do in this case is not close the context menu (this behavior can be seen in windows as well). BUG=17862 TEST=see bug, but also covered by ui test now. Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=22180

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+87 lines, -3 lines) Patch
M chrome/browser/views/bookmark_bar_view_test.cc View 1 chunk +77 lines, -0 lines 0 comments Download
M views/controls/menu/chrome_menu.h View 2 chunks +7 lines, -2 lines 0 comments Download
M views/controls/menu/chrome_menu.cc View 2 chunks +3 lines, -1 line 0 comments Download

Messages

Total messages: 2 (0 generated)
sky
11 years, 4 months ago (2009-07-31 17:37:14 UTC) #1
Ben Goodger (Google)
11 years, 4 months ago (2009-07-31 17:41:08 UTC) #2
LGTM

Powered by Google App Engine
This is Rietveld 408576698