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

Unified Diff: ui/gfx/win/window_impl.cc

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/win/singleton_hwnd.cc ('k') | ui/gl/gpu_switching_manager.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/gfx/win/window_impl.cc
diff --git a/ui/gfx/win/window_impl.cc b/ui/gfx/win/window_impl.cc
index 97da6f94f86f9c537683e9b70d6635b3bb9c68c8..375434f98ad30d4943653da06add87a3736d7713 100644
--- a/ui/gfx/win/window_impl.cc
+++ b/ui/gfx/win/window_impl.cc
@@ -81,7 +81,7 @@ class ClassRegistrar {
};
ClassRegistrar();
- friend struct DefaultSingletonTraits<ClassRegistrar>;
+ friend struct base::DefaultSingletonTraits<ClassRegistrar>;
typedef std::list<RegisteredClass> RegisteredClasses;
RegisteredClasses registered_classes_;
@@ -98,8 +98,8 @@ ClassRegistrar::~ClassRegistrar() {}
// static
ClassRegistrar* ClassRegistrar::GetInstance() {
- return Singleton<ClassRegistrar,
- LeakySingletonTraits<ClassRegistrar> >::get();
+ return base::Singleton<ClassRegistrar,
+ base::LeakySingletonTraits<ClassRegistrar>>::get();
}
void ClassRegistrar::UnregisterClasses() {
« no previous file with comments | « ui/gfx/win/singleton_hwnd.cc ('k') | ui/gl/gpu_switching_manager.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698