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 6acfb9ef1897621fb0a4aa95dec18ce0298f13e5..4c0a2b3b5a938231f98c3f16032c3935683d1011 100644 |
--- a/ash/first_run/first_run_helper_impl.cc |
+++ b/ash/first_run/first_run_helper_impl.cc |
@@ -9,7 +9,6 @@ |
#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_window.h" |
#include "base/logging.h" |
@@ -56,7 +55,7 @@ views::Widget* FirstRunHelperImpl::GetOverlayWidget() { |
} |
gfx::Rect FirstRunHelperImpl::GetAppListButtonBounds() { |
- WmShelf* shelf = WmShelf::ForWindow(ShellPort::Get()->GetPrimaryRootWindow()); |
+ WmShelf* shelf = WmShelf::ForWindow(Shell::GetPrimaryRootWindow()); |
AppListButton* app_button = shelf->shelf_widget()->GetAppListButton(); |
return app_button->GetBoundsInScreen(); |
} |