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

Unified Diff: views/focus/focus_manager.h

Issue 5581008: Add a new GetInstance() method for singleton classes, take 2. (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: views/focus/focus_manager.h
diff --git a/views/focus/focus_manager.h b/views/focus/focus_manager.h
index af6f414ebe55655c9034ecb7449dc06894cbafea..28f97b41c3ee49d104ba1a68a9574096fcba5b92 100644
--- a/views/focus/focus_manager.h
+++ b/views/focus/focus_manager.h
@@ -176,9 +176,7 @@ class FocusManager {
virtual ~FocusManager();
// Returns the global WidgetFocusManager instance for the running application.
- static WidgetFocusManager* GetWidgetFocusManager() {
- return Singleton<WidgetFocusManager>::get();
- }
+ static WidgetFocusManager* GetWidgetFocusManager();
// Processes the passed key event for accelerators and tab traversal.
// Returns false if the event has been consumed and should not be processed

Powered by Google App Engine
This is Rietveld 408576698