| Index: ash/wm/window_util_unittest.cc
|
| diff --git a/ash/wm/window_util_unittest.cc b/ash/wm/window_util_unittest.cc
|
| index 58118186cb6365cdfc5a0820544e04a6ecbd396f..434a915a226f0158c5373756ca8bbf50cf841e2f 100644
|
| --- a/ash/wm/window_util_unittest.cc
|
| +++ b/ash/wm/window_util_unittest.cc
|
| @@ -10,7 +10,6 @@
|
| #include "ash/test/ash_test_base.h"
|
| #include "ash/wm/window_state_aura.h"
|
| #include "ui/aura/window.h"
|
| -#include "ui/display/manager/display_manager.h"
|
| #include "ui/display/screen.h"
|
|
|
| namespace ash {
|
| @@ -41,8 +40,7 @@ TEST_F(WindowUtilTest, CenterWindow) {
|
| EXPECT_TRUE(window_state->bounds_changed_by_user());
|
| EXPECT_EQ("200,126 100x100", window->bounds().ToString());
|
| EXPECT_EQ("200,126 100x100", window->GetBoundsInScreen().ToString());
|
| - window->SetBoundsInScreen(gfx::Rect(600, 0, 100, 100),
|
| - display_manager()->GetSecondaryDisplay());
|
| + window->SetBoundsInScreen(gfx::Rect(600, 0, 100, 100), GetSecondaryDisplay());
|
| CenterWindow(WmWindow::Get(window.get()));
|
| EXPECT_EQ("250,126 100x100", window->bounds().ToString());
|
| EXPECT_EQ("750,126 100x100", window->GetBoundsInScreen().ToString());
|
|
|