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

Issue 7109037: views: Make MenuDelegate constructor virtual. (Closed)

Created:
9 years, 6 months ago by Nico
Modified:
9 years, 6 months ago
CC:
chromium-reviews, dhollowa
Visibility:
Public.

Description

views: Make MenuDelegate constructor virtual. This fixes a real bug, because e.g. chrome/browser/chromeos/frame/browser_view.cc has a scoped_ptr<views::MenuDelegate> that it sets to a SimpleMenuModelDelegateAdapter object. (That class ends up not having a destructor and no non-POD members, so it's just a latent bug.) BUG=84424 TEST=none Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=88383

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+4 lines, -0 lines) Patch
M views/controls/menu/menu_delegate.h View 1 chunk +2 lines, -0 lines 0 comments Download
M views/controls/menu/menu_delegate.cc View 1 chunk +2 lines, -0 lines 0 comments Download

Messages

Total messages: 3 (0 generated)
Nico
9 years, 6 months ago (2011-06-08 18:33:11 UTC) #1
sky
LGTM
9 years, 6 months ago (2011-06-08 19:09:40 UTC) #2
commit-bot: I haz the power
9 years, 6 months ago (2011-06-08 20:16:23 UTC) #3
Change committed as 88383

Powered by Google App Engine
This is Rietveld 408576698