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

Unified Diff: components/exo/pointer_unittest.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
Index: components/exo/pointer_unittest.cc
diff --git a/components/exo/pointer_unittest.cc b/components/exo/pointer_unittest.cc
index 0a6118b36deeab3601016d5061fc1d86910cb702..6df66bcce6cedb0a670cc05ea737d8f6cfcad702 100644
--- a/components/exo/pointer_unittest.cc
+++ b/components/exo/pointer_unittest.cc
@@ -8,7 +8,6 @@
#include "ash/shell.h"
#include "ash/shell_port.h"
#include "ash/wm/window_positioning_utils.h"
-#include "ash/wm_window.h"
#include "components/exo/buffer.h"
#include "components/exo/pointer_delegate.h"
#include "components/exo/shell_surface.h"
@@ -313,7 +312,7 @@ TEST_F(PointerTest, IgnorePointerEventDuringModal) {
new Buffer(exo_test_helper()->CreateGpuMemoryBuffer(gfx::Size(5, 5))));
surface2->Attach(buffer2.get());
surface2->Commit();
- ash::wm::CenterWindow(ash::WmWindow::Get(surface2->window()));
+ ash::wm::CenterWindow(surface2->window());
gfx::Point location2 = surface2->window()->GetBoundsInScreen().origin();
// Make the window modal.

Powered by Google App Engine
This is Rietveld 408576698