Index: ash/wm/system_modal_container_layout_manager_unittest.cc |
diff --git a/ash/wm/system_modal_container_layout_manager_unittest.cc b/ash/wm/system_modal_container_layout_manager_unittest.cc |
index 1f74726968bf8a0cd436f0f443839556d7b2f819..6229587b890fb91196e300c6748ee4793d82a518 100644 |
--- a/ash/wm/system_modal_container_layout_manager_unittest.cc |
+++ b/ash/wm/system_modal_container_layout_manager_unittest.cc |
@@ -182,8 +182,8 @@ class SystemModalContainerLayoutManagerTest : public AshTestBase { |
keyboard->ShowKeyboard(true); |
if (keyboard->proxy()->GetKeyboardWindow()->bounds().height() == 0) { |
keyboard->proxy()->GetKeyboardWindow()->SetBounds( |
- keyboard::KeyboardBoundsFromWindowBounds( |
- keyboard->GetContainerWindow()->bounds(), 100)); |
+ keyboard::FullWidthKeyboardBoundsFromRootBounds( |
+ Shell::GetPrimaryRootWindow()->bounds(), 100)); |
} |
} else { |
keyboard->HideKeyboard(keyboard::KeyboardController::HIDE_REASON_MANUAL); |