Index: ash/wm/app_list_controller.cc |
diff --git a/ash/wm/app_list_controller.cc b/ash/wm/app_list_controller.cc |
index 0953db825c5241788dd86f6786558d154349bce9..6839cc4579ada864f193b4cb486a7ec6cac77906 100644 |
--- a/ash/wm/app_list_controller.cc |
+++ b/ash/wm/app_list_controller.cc |
@@ -183,7 +183,7 @@ |
aura::Window* root_window = window->GetRootWindow(); |
aura::Window* container = GetRootWindowController(root_window)-> |
GetContainer(kShellWindowId_AppListContainer); |
- is_centered_ = view->ShouldCenterWindow(); |
+ is_centered_ = app_list::switches::IsCenteredAppListEnabled(); |
if (is_centered_) { |
// The experimental app list is centered over the primary display. |
view->InitAsBubbleAtFixedLocation( |