diff options
Diffstat (limited to 'views/focus/focus_manager.cc')
-rw-r--r-- | views/focus/focus_manager.cc | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/views/focus/focus_manager.cc b/views/focus/focus_manager.cc index 4848e4b..e8a3e7e 100644 --- a/views/focus/focus_manager.cc +++ b/views/focus/focus_manager.cc @@ -63,6 +63,12 @@ void FocusManager::WidgetFocusManager::OnWidgetFocusEvent( } } +// static +FocusManager::WidgetFocusManager* +FocusManager::WidgetFocusManager::GetInstance() { + return Singleton<WidgetFocusManager>::get(); +} + // FocusManager ----------------------------------------------------- FocusManager::FocusManager(Widget* widget) @@ -82,7 +88,7 @@ FocusManager::~FocusManager() { // static FocusManager::WidgetFocusManager* FocusManager::GetWidgetFocusManager() { - return Singleton<WidgetFocusManager>::get(); + return WidgetFocusManager::GetInstance(); } bool FocusManager::OnKeyEvent(const KeyEvent& event) { |