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

Unified Diff: chrome/common/deprecated/event_sys.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/menus/button_menu_item_model.h ('k') | chrome/common/mach_message_source_mac.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/common/deprecated/event_sys.h
===================================================================
--- chrome/common/deprecated/event_sys.h (revision 53376)
+++ chrome/common/deprecated/event_sys.h (working copy)
@@ -19,6 +19,9 @@
class EventListener {
public:
virtual void HandleEvent(const EventType& event) = 0;
+
+ protected:
+ virtual ~EventListener() {}
};
// See the -inl.h for details about the following.
« no previous file with comments | « app/menus/button_menu_item_model.h ('k') | chrome/common/mach_message_source_mac.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698