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

Unified Diff: ash/shelf/shelf_window_watcher_unittest.cc

Issue 2897993003: chromeos: converts WindowResizer to aura::Window (Closed)
Patch Set: tweak 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: ash/shelf/shelf_window_watcher_unittest.cc
diff --git a/ash/shelf/shelf_window_watcher_unittest.cc b/ash/shelf/shelf_window_watcher_unittest.cc
index 14f3246586a1ec11e2efd1a0ce675a467845dce5..20ef792b3e02976be4ee026b060dcbb51f3eef6f 100644
--- a/ash/shelf/shelf_window_watcher_unittest.cc
+++ b/ash/shelf/shelf_window_watcher_unittest.cc
@@ -242,9 +242,9 @@ TEST_F(ShelfWindowWatcherTest, DragWindow) {
EXPECT_EQ(STATUS_ACTIVE, model_->items()[index].status);
// Simulate dragging of the window and check its item is not changed.
- std::unique_ptr<WindowResizer> resizer(CreateWindowResizer(
- WmWindow::Get(widget->GetNativeWindow()), gfx::Point(), HTCAPTION,
- aura::client::WINDOW_MOVE_SOURCE_MOUSE));
+ std::unique_ptr<WindowResizer> resizer(
+ CreateWindowResizer(widget->GetNativeWindow(), gfx::Point(), HTCAPTION,
+ aura::client::WINDOW_MOVE_SOURCE_MOUSE));
ASSERT_TRUE(resizer.get());
resizer->Drag(gfx::Point(50, 50), 0);
resizer->CompleteDrag();

Powered by Google App Engine
This is Rietveld 408576698