Index: ash/wm/app_list_controller.cc |
diff --git a/ash/wm/app_list_controller.cc b/ash/wm/app_list_controller.cc |
index d4c51f1089a719ac0aa72d052bc2f56ee8e93e53..5ffc075edc8f5bcf6c318bc164380dabcf590296 100644 |
--- a/ash/wm/app_list_controller.cc |
+++ b/ash/wm/app_list_controller.cc |
@@ -5,6 +5,7 @@ |
#include "ash/wm/app_list_controller.h" |
#include "ash/ash_switches.h" |
+#include "ash/root_window_controller.h" |
#include "ash/shell.h" |
#include "ash/shell_delegate.h" |
#include "ash/shell_window_ids.h" |
@@ -85,8 +86,7 @@ void AppListController::SetVisible(bool visible) { |
app_list::AppListView* view = new app_list::AppListView( |
Shell::GetInstance()->delegate()->CreateAppListViewDelegate()); |
view->InitAsBubble( |
- Shell::GetContainer( |
- Shell::GetPrimaryRootWindow(), |
+ Shell::GetPrimaryRootWindowController()->GetContainer( |
kShellWindowId_AppListContainer), |
Shell::GetInstance()->launcher()->GetAppListButtonView(), |
GetBubbleArrowLocation()); |