Index: ash/wm/toplevel_window_event_handler_unittest.cc |
diff --git a/ash/wm/toplevel_window_event_handler_unittest.cc b/ash/wm/toplevel_window_event_handler_unittest.cc |
index 527c9b3c3d20aea249f77c660a19d53598198121..59dcb4259965b430ad9abf96aa36d47ae68b9497 100644 |
--- a/ash/wm/toplevel_window_event_handler_unittest.cc |
+++ b/ash/wm/toplevel_window_event_handler_unittest.cc |
@@ -9,7 +9,7 @@ |
#include "ash/shell_window_ids.h" |
#include "ash/test/ash_test_base.h" |
#include "ash/wm/property_util.h" |
-#include "ash/wm/session_state_controller_impl.h" |
+#include "ash/wm/session_lock_state_controller_impl2.h" |
#include "ash/wm/window_util.h" |
#include "ash/wm/workspace/snap_sizer.h" |
#include "ash/wm/workspace_controller.h" |
@@ -472,9 +472,9 @@ TEST_F(ToplevelWindowEventHandlerTest, GestureDrag) { |
// Tests that a gesture cannot minimize a window in login/lock screen. |
TEST_F(ToplevelWindowEventHandlerTest, GestureDragMinimizeLoginScreen) { |
- SessionStateControllerImpl* state_controller = |
- static_cast<SessionStateControllerImpl*> |
- (Shell::GetInstance()->session_state_controller()); |
+ SessionLockStateControllerImpl2* state_controller = |
+ static_cast<SessionLockStateControllerImpl2*> |
Nikita (slow)
2013/05/30 13:16:10
I fixed static_cast which seems to be incorrect as
|
+ (Shell::GetInstance()->session_lock_state_controller()); |
state_controller->OnLoginStateChanged(user::LOGGED_IN_NONE); |
state_controller->OnLockStateChanged(false); |
SetUserLoggedIn(false); |