Index: ash/wm/workspace/workspace_layout_manager_keyboard_unittest.cc |
diff --git a/ash/wm/workspace/workspace_layout_manager_keyboard_unittest.cc b/ash/wm/workspace/workspace_layout_manager_keyboard_unittest.cc |
index b604c6df19cff01936dc01fda735a24fcc1c46d2..dcdaaac7f0ec51ad503bc16612132c346f6559ea 100644 |
--- a/ash/wm/workspace/workspace_layout_manager_keyboard_unittest.cc |
+++ b/ash/wm/workspace/workspace_layout_manager_keyboard_unittest.cc |
@@ -22,7 +22,6 @@ |
#include "ash/wm/window_util.h" |
#include "ash/wm/wm_event.h" |
#include "ash/wm/workspace/workspace_window_resizer.h" |
-#include "ash/wm_window.h" |
#include "base/command_line.h" |
#include "ui/base/ui_base_switches.h" |
#include "ui/base/ui_base_types.h" |
@@ -64,14 +63,13 @@ class WorkspaceLayoutManagerKeyboardTest2 : public test::AshTestBase { |
restore_work_area_insets_ = |
display::Screen::GetScreen()->GetPrimaryDisplay().GetWorkAreaInsets(); |
ShellPort::Get()->SetDisplayWorkAreaInsets( |
- WmWindow::Get(Shell::GetPrimaryRootWindow()), |
+ Shell::GetPrimaryRootWindow(), |
gfx::Insets(0, 0, keyboard_bounds_.height(), 0)); |
} |
void HideKeyboard() { |
- ShellPort::Get()->SetDisplayWorkAreaInsets( |
- WmWindow::Get(Shell::GetPrimaryRootWindow()), |
- restore_work_area_insets_); |
+ ShellPort::Get()->SetDisplayWorkAreaInsets(Shell::GetPrimaryRootWindow(), |
+ restore_work_area_insets_); |
layout_manager_->OnKeyboardBoundsChanging(gfx::Rect()); |
} |