Index: ash/wm/window_cycle_controller_unittest.cc |
diff --git a/ash/wm/window_cycle_controller_unittest.cc b/ash/wm/window_cycle_controller_unittest.cc |
index c0290eefb83ab917be5828304e58d12effe6e3d1..fb1cca2b36f4a71f32a6f4add0bc056d71a51cfe 100644 |
--- a/ash/wm/window_cycle_controller_unittest.cc |
+++ b/ash/wm/window_cycle_controller_unittest.cc |
@@ -492,7 +492,8 @@ TEST_F(WindowCycleControllerTest, SelectingHidesAppList) { |
std::unique_ptr<aura::Window> window0(CreateTestWindowInShellWithId(0)); |
std::unique_ptr<aura::Window> window1(CreateTestWindowInShellWithId(1)); |
- app_list_presenter_impl.Show(display_manager()->first_display_id()); |
+ app_list_presenter_impl.Show( |
+ display::Screen::GetScreen()->GetPrimaryDisplay().id()); |
EXPECT_TRUE(app_list_presenter_impl.IsVisible()); |
controller->HandleCycleWindow(WindowCycleController::FORWARD); |
EXPECT_FALSE(app_list_presenter_impl.IsVisible()); |