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

Unified Diff: base/message_pump_x.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_x.h
diff --git a/base/message_pump_x.h b/base/message_pump_x.h
index 85f7c8d6d8d9d59e6deac361f7bc190529d6adfe..c9cfda865e4f9a28202ba82767ea863b954009b2 100644
--- a/base/message_pump_x.h
+++ b/base/message_pump_x.h
@@ -23,7 +23,6 @@ namespace base {
class BASE_EXPORT MessagePumpX : public MessagePumpGlib {
public:
MessagePumpX();
- virtual ~MessagePumpX();
// Returns default X Display.
static Display* GetDefaultXDisplay();
@@ -38,6 +37,9 @@ class BASE_EXPORT MessagePumpX : public MessagePumpGlib {
// all available X events.
gboolean DispatchXEvents();
+ protected:
+ virtual ~MessagePumpX();
+
private:
// Initializes the glib event source for X.
void InitXSource();

Powered by Google App Engine
This is Rietveld 408576698