summaryrefslogtreecommitdiffstats
path: root/views/focus/focus_manager.cc
diff options
context:
space:
mode:
Diffstat (limited to 'views/focus/focus_manager.cc')
-rw-r--r--views/focus/focus_manager.cc8
1 files changed, 4 insertions, 4 deletions
diff --git a/views/focus/focus_manager.cc b/views/focus/focus_manager.cc
index 4848e4b..5e869ad 100644
--- a/views/focus/focus_manager.cc
+++ b/views/focus/focus_manager.cc
@@ -71,7 +71,7 @@ FocusManager::FocusManager(Widget* widget)
focus_change_reason_(kReasonDirectFocusChange) {
DCHECK(widget_);
stored_focused_view_storage_id_ =
- ViewStorage::GetSharedInstance()->CreateStorageID();
+ ViewStorage::GetInstance()->CreateStorageID();
}
FocusManager::~FocusManager() {
@@ -332,7 +332,7 @@ void FocusManager::ClearFocus() {
}
void FocusManager::StoreFocusedView() {
- ViewStorage* view_storage = ViewStorage::GetSharedInstance();
+ ViewStorage* view_storage = ViewStorage::GetInstance();
if (!view_storage) {
// This should never happen but bug 981648 seems to indicate it could.
NOTREACHED();
@@ -365,7 +365,7 @@ void FocusManager::StoreFocusedView() {
}
void FocusManager::RestoreFocusedView() {
- ViewStorage* view_storage = ViewStorage::GetSharedInstance();
+ ViewStorage* view_storage = ViewStorage::GetInstance();
if (!view_storage) {
// This should never happen but bug 981648 seems to indicate it could.
NOTREACHED();
@@ -399,7 +399,7 @@ void FocusManager::RestoreFocusedView() {
}
void FocusManager::ClearStoredFocusedView() {
- ViewStorage* view_storage = ViewStorage::GetSharedInstance();
+ ViewStorage* view_storage = ViewStorage::GetInstance();
if (!view_storage) {
// This should never happen but bug 981648 seems to indicate it could.
NOTREACHED();