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

Unified Diff: chrome/common/mach_message_source_mac.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 | « chrome/common/deprecated/event_sys.h ('k') | chrome/common/sandbox_mac_unittest_helper.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/common/mach_message_source_mac.h
===================================================================
--- chrome/common/mach_message_source_mac.h (revision 53376)
+++ chrome/common/mach_message_source_mac.h (working copy)
@@ -38,6 +38,9 @@
class MachPortListener {
public:
virtual void OnMachMessageReceived(void* mach_msg, size_t size) = 0;
+
+ protected:
+ virtual ~OnMachMessageReceived() {}
};
// |listener| is a week reference passed to CF, it needs to remain in
« no previous file with comments | « chrome/common/deprecated/event_sys.h ('k') | chrome/common/sandbox_mac_unittest_helper.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698