| Index: ash/root_window_controller_unittest.cc
|
| diff --git a/ash/root_window_controller_unittest.cc b/ash/root_window_controller_unittest.cc
|
| index 5663c90b116905ae08864c6e5126d990028a172a..0753600a1257a6d57a24758152354106a2265806 100644
|
| --- a/ash/root_window_controller_unittest.cc
|
| +++ b/ash/root_window_controller_unittest.cc
|
| @@ -12,6 +12,7 @@
|
| #include "ash/test/ash_test_base.h"
|
| #include "ash/wm/system_modal_container_layout_manager.h"
|
| #include "ash/wm/window_properties.h"
|
| +#include "ash/wm/window_state.h"
|
| #include "ash/wm/window_util.h"
|
| #include "base/command_line.h"
|
| #include "ui/aura/client/focus_change_observer.h"
|
| @@ -259,7 +260,7 @@ TEST_F(RootWindowControllerTest, MoveWindows_Basic) {
|
| fullscreen->GetNativeView()->GetBoundsInRootWindow().ToString());
|
|
|
| // Test if the restore bounds are correctly updated.
|
| - wm::RestoreWindow(maximized->GetNativeView());
|
| + wm::GetWindowState(maximized->GetNativeView())->Restore();
|
| EXPECT_EQ("100,10 100x100", maximized->GetWindowBoundsInScreen().ToString());
|
| EXPECT_EQ("100,10 100x100",
|
| maximized->GetNativeView()->GetBoundsInRootWindow().ToString());
|
|
|