Index: ash/app_list/app_list_presenter_delegate.cc |
diff --git a/ash/app_list/app_list_presenter_delegate.cc b/ash/app_list/app_list_presenter_delegate.cc |
index fd568566aaa2d89b2a432d3da3066f3f1ec06196..e414347eafda906db163fe95b8c66c5f38e47990 100644 |
--- a/ash/app_list/app_list_presenter_delegate.cc |
+++ b/ash/app_list/app_list_presenter_delegate.cc |
@@ -67,7 +67,7 @@ AppListPresenterDelegate::AppListPresenterDelegate( |
app_list::AppListPresenterImpl* presenter, |
app_list::AppListViewDelegateFactory* view_delegate_factory) |
: presenter_(presenter), view_delegate_factory_(view_delegate_factory) { |
- WmShell::Get()->AddShellObserver(this); |
+ Shell::GetInstance()->AddShellObserver(this); |
} |
AppListPresenterDelegate::~AppListPresenterDelegate() { |
@@ -79,7 +79,7 @@ AppListPresenterDelegate::~AppListPresenterDelegate() { |
Shell::GetInstance()->RemovePreTargetHandler(this); |
WmWindow* window = WmWindow::Get(view_->GetWidget()->GetNativeWindow()); |
window->GetRootWindowController()->GetShelf()->RemoveObserver(this); |
- WmShell::Get()->RemoveShellObserver(this); |
+ Shell::GetInstance()->RemoveShellObserver(this); |
} |
app_list::AppListViewDelegate* AppListPresenterDelegate::GetViewDelegate() { |