| Index: components/exo/test/exo_test_helper.cc
|
| diff --git a/components/exo/test/exo_test_helper.cc b/components/exo/test/exo_test_helper.cc
|
| index 9cf0253723e178f80c32739be8641a57dfed16c0..bb5b511655cb667c80eba49d7be71f0c472d43ca 100644
|
| --- a/components/exo/test/exo_test_helper.cc
|
| +++ b/components/exo/test/exo_test_helper.cc
|
| @@ -7,7 +7,6 @@
|
| #include "ash/public/cpp/shell_window_ids.h"
|
| #include "ash/wm/window_positioner.h"
|
| #include "ash/wm/window_positioning_utils.h"
|
| -#include "ash/wm_window.h"
|
| #include "components/exo/buffer.h"
|
| #include "components/exo/shell_surface.h"
|
| #include "components/exo/surface.h"
|
| @@ -35,8 +34,7 @@ ExoTestWindow::ExoTestWindow(std::unique_ptr<gfx::GpuMemoryBuffer> gpu_buffer,
|
| surface_->Attach(buffer_.get());
|
| surface_->Commit();
|
|
|
| - ash::wm::CenterWindow(
|
| - ash::WmWindow::Get(shell_surface_->GetWidget()->GetNativeWindow()));
|
| + ash::wm::CenterWindow(shell_surface_->GetWidget()->GetNativeWindow());
|
| }
|
|
|
| ExoTestWindow::ExoTestWindow(ExoTestWindow&& other) {
|
|
|