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

Unified Diff: base/message_pump_gtk.h

Issue 10392152: RefCounted types should not have public destructors, Linux fixes (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 7 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
Index: base/message_pump_gtk.h
diff --git a/base/message_pump_gtk.h b/base/message_pump_gtk.h
index ea1630f06f2659dd1baae6f05ea938dc4934708d..206c8e8cc98413924c26f32b48932a7995620f08 100644
--- a/base/message_pump_gtk.h
+++ b/base/message_pump_gtk.h
@@ -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.

Powered by Google App Engine
This is Rietveld 408576698