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

Unified Diff: app/menus/button_menu_item_model.h

Issue 3032024: Add undeclared virtual destructors part 2... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 10 years, 5 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
« no previous file with comments | « app/active_window_watcher_x.h ('k') | chrome/common/deprecated/event_sys.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: app/menus/button_menu_item_model.h
===================================================================
--- app/menus/button_menu_item_model.h (revision 53376)
+++ app/menus/button_menu_item_model.h (working copy)
@@ -30,6 +30,9 @@
// Performs the action associated with the specified command id.
virtual void ExecuteCommand(int command_id) = 0;
+
+ protected:
+ virtual ~Delegate() {}
};
ButtonMenuItemModel(int string_id, ButtonMenuItemModel::Delegate* delegate);
« no previous file with comments | « app/active_window_watcher_x.h ('k') | chrome/common/deprecated/event_sys.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698