| 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 fabd9d92c1bf87626be90d0efad9e18f959ed44d..186e2bdf7d4ab3f796c512dc340ced22f0a7af45 100644
|
| --- a/ash/wm/window_cycle_controller_unittest.cc
|
| +++ b/ash/wm/window_cycle_controller_unittest.cc
|
| @@ -8,6 +8,7 @@
|
|
|
| #include "ash/display/display_controller.h"
|
| #include "ash/display/display_manager.h"
|
| +#include "ash/session_state_delegate.h"
|
| #include "ash/shell.h"
|
| #include "ash/shell_window_ids.h"
|
| #include "ash/test/ash_test_base.h"
|
| @@ -145,14 +146,14 @@ TEST_F(WindowCycleControllerTest, HandleCycleWindow) {
|
| EXPECT_TRUE(wm::IsActiveWindow(window0.get()));
|
|
|
| // When the screen is locked, cycling window does not take effect.
|
| - Shell::GetInstance()->delegate()->LockScreen();
|
| + Shell::GetInstance()->session_state_delegate()->LockScreen();
|
| EXPECT_TRUE(wm::IsActiveWindow(window0.get()));
|
| controller->HandleCycleWindow(WindowCycleController::FORWARD, false);
|
| EXPECT_TRUE(wm::IsActiveWindow(window0.get()));
|
| controller->HandleCycleWindow(WindowCycleController::BACKWARD, false);
|
| EXPECT_TRUE(wm::IsActiveWindow(window0.get()));
|
|
|
| - Shell::GetInstance()->delegate()->UnlockScreen();
|
| + Shell::GetInstance()->session_state_delegate()->UnlockScreen();
|
| EXPECT_TRUE(wm::IsActiveWindow(window0.get()));
|
| controller->HandleCycleWindow(WindowCycleController::FORWARD, false);
|
| EXPECT_TRUE(wm::IsActiveWindow(window1.get()));
|
|
|