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

Unified Diff: components/exo/shell_surface.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: components/exo/shell_surface.cc
diff --git a/components/exo/shell_surface.cc b/components/exo/shell_surface.cc
index cf0e78ad527e3a46e27129318f999091a8fc57c4..cace07e51ceff6b194311686e157c3ae197f0e75 100644
--- a/components/exo/shell_surface.cc
+++ b/components/exo/shell_surface.cc
@@ -1313,8 +1313,7 @@ void ShellSurface::AttemptToStartDrag(int component) {
break;
}
- resizer_ = ash::CreateWindowResizer(ash::WmWindow::Get(window),
- GetMouseLocation(), component,
+ resizer_ = ash::CreateWindowResizer(window, GetMouseLocation(), component,
aura::client::WINDOW_MOVE_SOURCE_MOUSE);
if (!resizer_)
return;
« ash/wm/workspace/workspace_window_resizer.cc ('K') | « ash/wm/workspace_controller_unittest.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698