Index: ash/wm/always_on_top_controller_unittest.cc |
diff --git a/ash/wm/always_on_top_controller_unittest.cc b/ash/wm/always_on_top_controller_unittest.cc |
index 535ed5ff2a6f14744a127e946a14b36368415e08..2051622a3065c4b7ea5b85c7789583f267147752 100644 |
--- a/ash/wm/always_on_top_controller_unittest.cc |
+++ b/ash/wm/always_on_top_controller_unittest.cc |
@@ -80,7 +80,7 @@ TEST_F(VirtualKeyboardAlwaysOnTopControllerTest, NotifyKeyboardBoundsChanged) { |
keyboard_window->set_owned_by_parent(false); |
const int kKeyboardHeight = 200; |
gfx::Rect keyboard_bounds = keyboard::KeyboardBoundsFromWindowBounds( |
- keyboard_container->bounds(), kKeyboardHeight); |
+ root_window->bounds(), kKeyboardHeight); |
keyboard_window->SetBounds(keyboard_bounds); |
keyboard_window->Show(); |
keyboard_controller->NotifyKeyboardBoundsChanging(keyboard_bounds); |