Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(214)

Unified Diff: components/exo/test/exo_test_helper.cc

Issue 2908433005: [mus+ash] Removes WmWindow from window_positioning_utils (Closed)
Patch Set: Removes WmWindow from window_positioning_utils (exo) Created 3 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« ash/wm/window_positioning_utils.cc ('K') | « components/exo/pointer_unittest.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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) {
« ash/wm/window_positioning_utils.cc ('K') | « components/exo/pointer_unittest.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698