Index: ash/root_window_controller_unittest.cc |
diff --git a/ash/root_window_controller_unittest.cc b/ash/root_window_controller_unittest.cc |
index b8c480c6ff0221297ce005ee40a59228d970c344..2fd939b0208f1e6da555afeef1ecabf443e881e8 100644 |
--- a/ash/root_window_controller_unittest.cc |
+++ b/ash/root_window_controller_unittest.cc |
@@ -696,8 +696,8 @@ TEST_F(VirtualKeyboardRootWindowControllerTest, |
// Track the keyboard container window. |
aura::WindowTracker tracker; |
tracker.Add(keyboard_container); |
- // Mock a login state change to reinitialize the keyboard. |
- ash::Shell::GetInstance()->OnLoginStateChanged(user::LOGGED_IN_OWNER); |
+ // Mock a login user profile change to reinitialize the keyboard. |
bshe
2013/10/31 16:45:44
This OnLoginUserProfilePrepared is normally called
oshima
2013/11/01 00:09:02
I'm not sure. I'll investigate and get back to you
|
+ ash::Shell::GetInstance()->OnLoginUserProfilePrepared(); |
// keyboard_container should no longer be present. |
EXPECT_FALSE(tracker.Contains(keyboard_container)); |
} |