diff options
Diffstat (limited to 'base/message_pump_gtk.h')
-rw-r--r-- | base/message_pump_gtk.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/base/message_pump_gtk.h b/base/message_pump_gtk.h index ea1630f0..e60eeaf 100644 --- a/base/message_pump_gtk.h +++ b/base/message_pump_gtk.h @@ -1,4 +1,4 @@ -// Copyright (c) 2011 The Chromium Authors. All rights reserved. +// Copyright (c) 2012 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. @@ -44,7 +44,6 @@ class MessagePumpDispatcher { class BASE_EXPORT MessagePumpGtk : public MessagePumpGlib { public: MessagePumpGtk(); - virtual ~MessagePumpGtk(); // Dispatch an available GdkEvent. Essentially this allows a subclass to do // some task before/after calling the default handler (EventDispatcher). @@ -53,6 +52,9 @@ class BASE_EXPORT MessagePumpGtk : public MessagePumpGlib { // Returns default X Display. static Display* GetDefaultXDisplay(); + protected: + virtual ~MessagePumpGtk(); + private: // Invoked from EventDispatcher. Notifies all observers we're about to // process an event. |