Index: components/exo/shell_surface.cc |
diff --git a/components/exo/shell_surface.cc b/components/exo/shell_surface.cc |
index cf0e78ad527e3a46e27129318f999091a8fc57c4..7fe884ddec4f26815a3096cd588f82293181620f 100644 |
--- a/components/exo/shell_surface.cc |
+++ b/components/exo/shell_surface.cc |
@@ -16,7 +16,6 @@ |
#include "ash/wm/window_resizer.h" |
#include "ash/wm/window_state.h" |
#include "ash/wm/window_util.h" |
-#include "ash/wm_window.h" |
#include "base/logging.h" |
#include "base/macros.h" |
#include "base/memory/ptr_util.h" |
@@ -1313,8 +1312,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; |