Index: ash/wm/workspace/workspace_window_resizer.cc |
diff --git a/ash/wm/workspace/workspace_window_resizer.cc b/ash/wm/workspace/workspace_window_resizer.cc |
index 26d957c843cc75961eaa98b098fed220eddbb459..6bacd4befcd756b16dc87c68fdc7b7705450768b 100644 |
--- a/ash/wm/workspace/workspace_window_resizer.cc |
+++ b/ash/wm/workspace/workspace_window_resizer.cc |
@@ -8,11 +8,11 @@ |
#include <cmath> |
#include "ash/shell.h" |
+#include "ash/wm/cursor_manager.h" |
#include "ash/wm/property_util.h" |
#include "ash/wm/window_util.h" |
#include "ash/wm/workspace/phantom_window_controller.h" |
#include "ash/wm/workspace/snap_sizer.h" |
-#include "ui/aura/cursor_manager.h" |
#include "ui/aura/env.h" |
#include "ui/aura/window.h" |
#include "ui/aura/window_delegate.h" |
@@ -45,7 +45,7 @@ const int WorkspaceWindowResizer::kMinOnscreenSize = 20; |
const int WorkspaceWindowResizer::kMinOnscreenHeight = 32; |
WorkspaceWindowResizer::~WorkspaceWindowResizer() { |
- aura::Env::GetInstance()->cursor_manager()->UnlockCursor(); |
+ ash::Shell::GetInstance()->cursor_manager()->UnlockCursor(); |
} |
// static |
@@ -153,7 +153,7 @@ WorkspaceWindowResizer::WorkspaceWindowResizer( |
snap_type_(SNAP_NONE), |
num_mouse_moves_since_bounds_change_(0) { |
DCHECK(details_.is_resizable); |
- aura::Env::GetInstance()->cursor_manager()->LockCursor(); |
+ ash::Shell::GetInstance()->cursor_manager()->LockCursor(); |
// Only support attaching to the right/bottom. |
DCHECK(attached_windows_.empty() || |