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

Unified Diff: ui/base/win/hwnd_subclass.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/base/ime/input_method_auralinux_unittest.cc ('k') | ui/base/x/x11_foreign_window_manager.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/base/win/hwnd_subclass.cc
diff --git a/ui/base/win/hwnd_subclass.cc b/ui/base/win/hwnd_subclass.cc
index 8628a7c2e8ba0cbff3fcb029f5ed3479a9ed9057..6c9a70c33c1cfa960321096592b55b93b7583ace 100644
--- a/ui/base/win/hwnd_subclass.cc
+++ b/ui/base/win/hwnd_subclass.cc
@@ -55,8 +55,9 @@ namespace ui {
class HWNDSubclass::HWNDSubclassFactory {
public:
static HWNDSubclassFactory* GetInstance() {
- return Singleton<HWNDSubclassFactory,
- LeakySingletonTraits<HWNDSubclassFactory> >::get();
+ return base::Singleton<
+ HWNDSubclassFactory,
+ base::LeakySingletonTraits<HWNDSubclassFactory>>::get();
}
// Returns a non-null HWNDSubclass corresponding to the HWND |target|. Creates
@@ -77,7 +78,7 @@ class HWNDSubclass::HWNDSubclassFactory {
}
private:
- friend struct DefaultSingletonTraits<HWNDSubclassFactory>;
+ friend struct base::DefaultSingletonTraits<HWNDSubclassFactory>;
HWNDSubclassFactory() {}
« no previous file with comments | « ui/base/ime/input_method_auralinux_unittest.cc ('k') | ui/base/x/x11_foreign_window_manager.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698