| Index: components/exo/pointer_unittest.cc
|
| diff --git a/components/exo/pointer_unittest.cc b/components/exo/pointer_unittest.cc
|
| index 8adb184870efdd82e399a9f432928fcea910434a..89a9b50a45f3c43e2963f60a14f315b869426a64 100644
|
| --- a/components/exo/pointer_unittest.cc
|
| +++ b/components/exo/pointer_unittest.cc
|
| @@ -2,10 +2,11 @@
|
| // Use of this source code is governed by a BSD-style license that can be
|
| // found in the LICENSE file.
|
|
|
| +#include "ash/aura/wm_window_aura.h"
|
| #include "ash/common/shell_window_ids.h"
|
| +#include "ash/common/wm/window_positioning_utils.h"
|
| #include "ash/common/wm_shell.h"
|
| #include "ash/shell.h"
|
| -#include "ash/wm/window_util.h"
|
| #include "components/exo/buffer.h"
|
| #include "components/exo/pointer.h"
|
| #include "components/exo/pointer_delegate.h"
|
| @@ -313,7 +314,7 @@ TEST_F(PointerTest, IgnorePointerEventDuringModal) {
|
| new Buffer(exo_test_helper()->CreateGpuMemoryBuffer(gfx::Size(5, 5))));
|
| surface2->Attach(buffer2.get());
|
| surface2->Commit();
|
| - ash::wm::CenterWindow(surface2->window());
|
| + ash::wm::CenterWindow(ash::WmWindowAura::Get(surface2->window()));
|
| gfx::Point location2 = surface2->window()->GetBoundsInScreen().origin();
|
|
|
| // Make the window modal.
|
|
|