| Index: ash/root_window_controller_unittest.cc
|
| diff --git a/ash/root_window_controller_unittest.cc b/ash/root_window_controller_unittest.cc
|
| index d547a8a335099074ab4f11962e4f4da675a6a6d3..78c96d9f6a13f6add83d0b107ba662226b179993 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 user profile change to reinitialize the keyboard.
|
| - ash::Shell::GetInstance()->OnLoginUserProfilePrepared();
|
| + // Mock a login state change to reinitialize the keyboard.
|
| + ash::Shell::GetInstance()->OnLoginStateChanged(user::LOGGED_IN_OWNER);
|
| // keyboard_container should no longer be present.
|
| EXPECT_FALSE(tracker.Contains(keyboard_container));
|
| }
|
|
|