Index: ash/first_run/first_run_helper_impl.cc |
diff --git a/ash/first_run/first_run_helper_impl.cc b/ash/first_run/first_run_helper_impl.cc |
index 617b27391ca94ffde1d647b1e766b4b73edc1503..6acfb9ef1897621fb0a4aa95dec18ce0298f13e5 100644 |
--- a/ash/first_run/first_run_helper_impl.cc |
+++ b/ash/first_run/first_run_helper_impl.cc |
@@ -9,8 +9,8 @@ |
#include "ash/shelf/shelf_widget.h" |
#include "ash/shelf/wm_shelf.h" |
#include "ash/shell.h" |
+#include "ash/shell_port.h" |
#include "ash/system/tray/system_tray.h" |
-#include "ash/wm_shell.h" |
#include "ash/wm_window.h" |
#include "base/logging.h" |
#include "ui/app_list/views/app_list_view.h" |
@@ -56,7 +56,7 @@ views::Widget* FirstRunHelperImpl::GetOverlayWidget() { |
} |
gfx::Rect FirstRunHelperImpl::GetAppListButtonBounds() { |
- WmShelf* shelf = WmShelf::ForWindow(WmShell::Get()->GetPrimaryRootWindow()); |
+ WmShelf* shelf = WmShelf::ForWindow(ShellPort::Get()->GetPrimaryRootWindow()); |
AppListButton* app_button = shelf->shelf_widget()->GetAppListButton(); |
return app_button->GetBoundsInScreen(); |
} |