| Index: ash/wm/window_util_unittest.cc
|
| diff --git a/ash/wm/window_util_unittest.cc b/ash/wm/window_util_unittest.cc
|
| index dae5e9938a451ac5b97eb789f8bc4c6b5682c797..0ce54364fcdf078d212ce29327ce7b54575b2bff 100644
|
| --- a/ash/wm/window_util_unittest.cc
|
| +++ b/ash/wm/window_util_unittest.cc
|
| @@ -4,9 +4,9 @@
|
|
|
| #include "ash/wm/window_util.h"
|
|
|
| -#include "ash/aura/wm_window_aura.h"
|
| #include "ash/common/wm/window_positioning_utils.h"
|
| #include "ash/common/wm/window_state.h"
|
| +#include "ash/common/wm_window.h"
|
| #include "ash/test/ash_test_base.h"
|
| #include "ash/wm/window_state_aura.h"
|
| #include "ui/aura/window.h"
|
| @@ -37,14 +37,14 @@ TEST_F(WindowUtilTest, CenterWindow) {
|
| wm::WindowState* window_state = wm::GetWindowState(window.get());
|
| EXPECT_FALSE(window_state->bounds_changed_by_user());
|
|
|
| - wm::CenterWindow(WmWindowAura::Get(window.get()));
|
| + wm::CenterWindow(WmWindow::Get(window.get()));
|
| // Centring window is considered as a user's action.
|
| 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());
|
| - wm::CenterWindow(WmWindowAura::Get(window.get()));
|
| + wm::CenterWindow(WmWindow::Get(window.get()));
|
| EXPECT_EQ("250,126 100x100", window->bounds().ToString());
|
| EXPECT_EQ("750,126 100x100", window->GetBoundsInScreen().ToString());
|
| }
|
|
|