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

Unified Diff: chrome/browser/ui/libgtk2ui/gtk2_event_loop.h

Issue 1308823002: Move Singleton and related structs to namespace base (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: ToT Created 5 years, 3 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: chrome/browser/ui/libgtk2ui/gtk2_event_loop.h
diff --git a/chrome/browser/ui/libgtk2ui/gtk2_event_loop.h b/chrome/browser/ui/libgtk2ui/gtk2_event_loop.h
index 0bd2a219ae2724166dba8f738a844818a7e05374..5ba99d5c8059d80f132405590626e4611a966f7e 100644
--- a/chrome/browser/ui/libgtk2ui/gtk2_event_loop.h
+++ b/chrome/browser/ui/libgtk2ui/gtk2_event_loop.h
@@ -11,7 +11,9 @@
typedef union _GdkEvent GdkEvent;
typedef struct _GdkEventKey GdkEventKey;
+namespace base {
template<typename Type> struct DefaultSingletonTraits;
+}
namespace libgtk2ui {
@@ -20,7 +22,7 @@ class Gtk2EventLoop {
static Gtk2EventLoop* GetInstance();
private:
- friend struct DefaultSingletonTraits<Gtk2EventLoop>;
+ friend struct base::DefaultSingletonTraits<Gtk2EventLoop>;
Gtk2EventLoop();
~Gtk2EventLoop();
« no previous file with comments | « chrome/browser/ui/libgtk2ui/g_object_destructor_filo.cc ('k') | chrome/browser/ui/libgtk2ui/gtk2_event_loop.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698