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

Issue 14161006: Fix NOTREACHED triggered by MenuItemView::GetAcceleratorText (Closed)

Created:
7 years, 8 months ago by dmazzoni
Modified:
7 years, 8 months ago
Reviewers:
sadrul
CC:
chromium-reviews, tfarina
Visibility:
Public.

Description

Fix NOTREACHED triggered by MenuItemView::GetAcceleratorText A recent change to accessibility on Chrome OS is triggering a call to MenuItemView::GetAccessibleState on a MenuItemView that has a delegate but no command id, which asserts in MenuModelAdapter when we try to look up a command that's not there. The fix is to not call MenuModelAdapter::GetAccelerator to look up a command when the command is zero. BUG=230107, 232079 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=194665

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+1 line, -1 line) Patch
M ui/views/controls/menu/menu_item_view.cc View 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 3 (0 generated)
dmazzoni
7 years, 8 months ago (2013-04-17 16:49:40 UTC) #1
sadrul
LGTM
7 years, 8 months ago (2013-04-17 16:53:10 UTC) #2
dmazzoni
7 years, 8 months ago (2013-04-17 20:22:02 UTC) #3
Message was sent while issue was closed.
Committed patchset #1 manually as r194665.

Powered by Google App Engine
This is Rietveld 408576698