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

Unified Diff: ash/mus/window_manager.cc

Issue 2828543003: chromeos: converts DragImageViewTest to AshTestBase (Closed)
Patch Set: cleanup Created 3 years, 8 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/mus/window_manager.cc
diff --git a/ash/mus/window_manager.cc b/ash/mus/window_manager.cc
index 003dc5d0585b1958cb0c44923f70ff5c528a1093..3fb31e7eb0b2d94dfd95c08c58dbf8f4cfe78e5d 100644
--- a/ash/mus/window_manager.cc
+++ b/ash/mus/window_manager.cc
@@ -401,8 +401,8 @@ void WindowManager::OnWmBuildDragImage(const gfx::Point& screen_location,
// TODO(erg): SkBitmap is the wrong data type for the drag image; we should
// be passing ImageSkias once http://crbug.com/655874 is implemented.
- WmWindow* root_window =
- WmWindow::Get((*GetRootWindowControllers().begin())->GetRootWindow());
+ aura::Window* root_window =
+ (*GetRootWindowControllers().begin())->GetRootWindow();
ui::DragDropTypes::DragEventSource ui_source =
source == ui::mojom::PointerKind::MOUSE

Powered by Google App Engine
This is Rietveld 408576698