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

Unified Diff: gfx/window_impl.cc

Issue 5682008: Make members of Singleton<T> private and only visible to the singleton type. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 10 years 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: gfx/window_impl.cc
diff --git a/gfx/window_impl.cc b/gfx/window_impl.cc
index 95561ff0a1d29617366149132d8ca47adf6db6f5..b85f2f2283c0db99e971694d720ee03ca9b630d3 100644
--- a/gfx/window_impl.cc
+++ b/gfx/window_impl.cc
@@ -222,7 +222,7 @@ std::wstring WindowImpl::GetWindowClassName() {
ATOM atom = RegisterClassEx(&class_ex);
DCHECK(atom);
- Singleton<ClassRegistrar>()->RegisterClass(class_info, name, atom);
+ ClassRegistrar::GetInstance()->RegisterClass(class_info, name, atom);
return name;
}

Powered by Google App Engine
This is Rietveld 408576698