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..f2db7e01663e6f7da5b85c096c9e5580bda83932 100644 |
--- a/ash/wm/always_on_top_controller_unittest.cc |
+++ b/ash/wm/always_on_top_controller_unittest.cc |
@@ -79,8 +79,8 @@ TEST_F(VirtualKeyboardAlwaysOnTopControllerTest, NotifyKeyboardBoundsChanged) { |
keyboard_container->AddChild(keyboard_window); |
keyboard_window->set_owned_by_parent(false); |
const int kKeyboardHeight = 200; |
- gfx::Rect keyboard_bounds = keyboard::KeyboardBoundsFromWindowBounds( |
- keyboard_container->bounds(), kKeyboardHeight); |
+ gfx::Rect keyboard_bounds = keyboard::FullWidthKeyboardBoundsFromRootBounds( |
+ root_window->bounds(), kKeyboardHeight); |
keyboard_window->SetBounds(keyboard_bounds); |
keyboard_window->Show(); |
keyboard_controller->NotifyKeyboardBoundsChanging(keyboard_bounds); |