Index: ash/wm/drag_window_resizer_unittest.cc |
diff --git a/ash/wm/drag_window_resizer_unittest.cc b/ash/wm/drag_window_resizer_unittest.cc |
index 2b3faa372e7e484eea41e34c4b6ef5848f002c95..66d5da06114857d4c64f2fa022ae74de6e2ab97c 100644 |
--- a/ash/wm/drag_window_resizer_unittest.cc |
+++ b/ash/wm/drag_window_resizer_unittest.cc |
@@ -46,7 +46,8 @@ class DragWindowResizerTest : public test::AshTestBase { |
gfx::Rect root_bounds(root->bounds()); |
EXPECT_EQ(kRootHeight, root_bounds.height()); |
EXPECT_EQ(800, root_bounds.width()); |
- Shell::GetInstance()->SetDisplayWorkAreaInsets(root, gfx::Insets()); |
+ Shell::GetInstance()->SetDisplayWorkAreaInsetsForTesting(root, |
+ gfx::Insets()); |
window_.reset(new aura::Window(&delegate_)); |
window_->SetType(ui::wm::WINDOW_TYPE_NORMAL); |
window_->Init(ui::LAYER_NOT_DRAWN); |