Index: ash/wm/app_list_controller.cc |
diff --git a/ash/wm/app_list_controller.cc b/ash/wm/app_list_controller.cc |
index d26ff37bcd75d0df703dcb32088c3def8b172185..bf631e79a21b97b53544dd23f26532b49237fb69 100644 |
--- a/ash/wm/app_list_controller.cc |
+++ b/ash/wm/app_list_controller.cc |
@@ -167,10 +167,10 @@ void AppListController::SetVisible(bool visible, aura::Window* window) { |
GetContainer(kShellWindowId_AppListContainer); |
if (app_list::switches::IsExperimentalAppListPositionEnabled()) { |
// The experimental app list is centered over the primary display. |
- view->InitAsBubbleAtFixedLocation( |
+ view->InitAsBubbleCenteredOnPrimaryDisplay( |
NULL, |
pagination_model_.get(), |
- Shell::GetScreen()->GetPrimaryDisplay().bounds().CenterPoint(), |
+ Shell::GetScreen(), |
views::BubbleBorder::FLOAT, |
true /* border_accepts_events */); |
} else { |