Index: ash/root_window_controller_unittest.cc |
diff --git a/ash/root_window_controller_unittest.cc b/ash/root_window_controller_unittest.cc |
index ff01846c1d65298fd559f998c623ca9ee90213e2..f331afb6912f52524f599ab8aeee6b3383cab0b3 100644 |
--- a/ash/root_window_controller_unittest.cc |
+++ b/ash/root_window_controller_unittest.cc |
@@ -621,6 +621,7 @@ TEST_F(VirtualKeyboardRootWindowControllerTest, |
aura::Window* keyboard_window = Shell::GetInstance()->keyboard_controller()-> |
proxy()->GetKeyboardWindow(); |
keyboard_container->AddChild(keyboard_window); |
+ keyboard_window->set_owned_by_parent(false); |
keyboard_window->SetBounds(gfx::Rect()); |
keyboard_window->Show(); |