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

Unified Diff: ui/gfx/win/singleton_hwnd.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
« no previous file with comments | « ui/gfx/sys_color_change_listener.cc ('k') | ui/gfx/win/singleton_hwnd.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/gfx/win/singleton_hwnd.h
diff --git a/ui/gfx/win/singleton_hwnd.h b/ui/gfx/win/singleton_hwnd.h
index ea62b3ed4b6d56be225de8f0e8f9ee7085cec54b..fe2e2986324c7ed897b851ae8786a4071f04af75 100644
--- a/ui/gfx/win/singleton_hwnd.h
+++ b/ui/gfx/win/singleton_hwnd.h
@@ -12,7 +12,9 @@
#include "ui/gfx/gfx_export.h"
#include "ui/gfx/win/window_impl.h"
+namespace base {
template<typename T> struct DefaultSingletonTraits;
+}
namespace gfx {
@@ -34,7 +36,7 @@ class GFX_EXPORT SingletonHwnd : public WindowImpl {
private:
friend class SingletonHwndObserver;
- friend struct DefaultSingletonTraits<SingletonHwnd>;
+ friend struct base::DefaultSingletonTraits<SingletonHwnd>;
SingletonHwnd();
~SingletonHwnd() override;
« no previous file with comments | « ui/gfx/sys_color_change_listener.cc ('k') | ui/gfx/win/singleton_hwnd.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698