Index: ash/app_list/app_list_delegate_impl.cc |
diff --git a/ash/app_list/app_list_delegate_impl.cc b/ash/app_list/app_list_delegate_impl.cc |
index 1be128f98b0d6c8bb6ede7e2a802d911c52f3cfa..ee61b8023afd3dff3cac333fc48935c9efd2c49d 100644 |
--- a/ash/app_list/app_list_delegate_impl.cc |
+++ b/ash/app_list/app_list_delegate_impl.cc |
@@ -9,7 +9,7 @@ |
#include "ash/shelf/shelf_widget.h" |
#include "ash/shelf/wm_shelf.h" |
#include "ash/shell.h" |
-#include "ash/wm_shell.h" |
+#include "ash/shell_port.h" |
#include "ui/app_list/presenter/app_list.h" |
namespace ash { |
@@ -24,7 +24,8 @@ AppListDelegateImpl::~AppListDelegateImpl() { |
void AppListDelegateImpl::OnAppListVisibilityChanged(bool visible, |
int64_t display_id) { |
- WmWindow* root_window = WmShell::Get()->GetRootWindowForDisplayId(display_id); |
+ WmWindow* root_window = |
+ ShellPort::Get()->GetRootWindowForDisplayId(display_id); |
AppListButton* app_list_button = |
WmShelf::ForWindow(root_window)->shelf_widget()->GetAppListButton(); |
if (!app_list_button) |