summaryrefslogtreecommitdiffstats
path: root/base/message_pump.h
diff options
context:
space:
mode:
Diffstat (limited to 'base/message_pump.h')
-rw-r--r--base/message_pump.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/base/message_pump.h b/base/message_pump.h
index 90336df..a06a435 100644
--- a/base/message_pump.h
+++ b/base/message_pump.h
@@ -42,6 +42,8 @@ class MessagePump : public RefCountedThreadSafe<MessagePump> {
// these delegate methods are used.
class Delegate {
public:
+ virtual ~Delegate() {}
+
// Called from within Run in response to ScheduleWork or when the message
// pump would otherwise call DoDelayedWork. Returns true to indicate that
// work was done. DoDelayedWork will not be called if DoWork returns true.