| Index: ash/wm/workspace/workspace_layout_manager_unittest.cc
|
| diff --git a/ash/wm/workspace/workspace_layout_manager_unittest.cc b/ash/wm/workspace/workspace_layout_manager_unittest.cc
|
| index 2a3157e0116635418579aa9315e94cf7ba08e699..26e636dff3cef1bf527c771bf444d1c26da5b788 100644
|
| --- a/ash/wm/workspace/workspace_layout_manager_unittest.cc
|
| +++ b/ash/wm/workspace/workspace_layout_manager_unittest.cc
|
| @@ -1021,15 +1021,14 @@ class WorkspaceLayoutManagerKeyboardTest : public test::AshTestBase {
|
| layout_manager_->OnKeyboardBoundsChanging(keyboard_bounds_);
|
| restore_work_area_insets_ = Shell::GetScreen()->GetPrimaryDisplay().
|
| GetWorkAreaInsets();
|
| - Shell::GetInstance()->SetDisplayWorkAreaInsets(
|
| + Shell::GetInstance()->SetDisplayWorkAreaInsetsForTesting(
|
| Shell::GetPrimaryRootWindow(),
|
| gfx::Insets(0, 0, keyboard_bounds_.height(), 0));
|
| }
|
|
|
| void HideKeyboard() {
|
| - Shell::GetInstance()->SetDisplayWorkAreaInsets(
|
| - Shell::GetPrimaryRootWindow(),
|
| - restore_work_area_insets_);
|
| + Shell::GetInstance()->SetDisplayWorkAreaInsetsForTesting(
|
| + Shell::GetPrimaryRootWindow(), restore_work_area_insets_);
|
| layout_manager_->OnKeyboardBoundsChanging(gfx::Rect());
|
| }
|
|
|
|
|