Index: ash/wm/workspace_controller_unittest.cc |
diff --git a/ash/wm/workspace_controller_unittest.cc b/ash/wm/workspace_controller_unittest.cc |
index 3739158577a6a31a7d5e5282f277b6136d93cacf..bcd9fb1edb5e7308343321adb314b59fe5f1d15d 100644 |
--- a/ash/wm/workspace_controller_unittest.cc |
+++ b/ash/wm/workspace_controller_unittest.cc |
@@ -628,7 +628,7 @@ TEST_F(WorkspaceControllerTest, MoveOnSwitch) { |
gfx::Insets insets = |
Shell::GetScreen()->GetPrimaryDisplay().GetWorkAreaInsets(); |
insets.Set(0, 0, insets.bottom() + 30, 0); |
- Shell::GetInstance()->SetDisplayWorkAreaInsets(w1.get(), insets); |
+ Shell::GetInstance()->SetDisplayWorkAreaInsetsForTesting(w1.get(), insets); |
// Switch to w1. The window should have moved. |
wm::ActivateWindow(w1.get()); |