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

Unified Diff: views/controls/menu/menu_controller.h

Issue 6622002: Do all OOLing in the views code. linux_views now builds clean with the clang plugin. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: views/controls/menu/menu_controller.h
diff --git a/views/controls/menu/menu_controller.h b/views/controls/menu/menu_controller.h
index 2da3a4b9d8d0c40a3fe98a01992abc49c7db298c..dfd68b4256de5312870033156ce692d7502207fe 100644
--- a/views/controls/menu/menu_controller.h
+++ b/views/controls/menu/menu_controller.h
@@ -131,7 +131,8 @@ class MenuController : public MessageLoopForUI::Dispatcher {
// Tracks selection information.
struct State {
- State() : item(NULL), submenu_open(false) {}
+ State();
+ ~State();
// The selected menu item.
MenuItemView* item;

Powered by Google App Engine
This is Rietveld 408576698