Index: ash/wm/default_window_resizer.cc |
diff --git a/ash/wm/default_window_resizer.cc b/ash/wm/default_window_resizer.cc |
index 8b5711530b04592d9fe7551021af72602f31eadb..4368c73b88ba14b3230441fe40d1b8a83ebc0d22 100644 |
--- a/ash/wm/default_window_resizer.cc |
+++ b/ash/wm/default_window_resizer.cc |
@@ -5,8 +5,8 @@ |
#include "ash/wm/default_window_resizer.h" |
#include "ash/shell.h" |
+#include "ash/wm/cursor_manager.h" |
#include "ui/aura/client/aura_constants.h" |
-#include "ui/aura/cursor_manager.h" |
#include "ui/aura/env.h" |
#include "ui/aura/root_window.h" |
#include "ui/aura/window.h" |
@@ -20,7 +20,7 @@ |
namespace ash { |
DefaultWindowResizer::~DefaultWindowResizer() { |
- aura::Env::GetInstance()->cursor_manager()->UnlockCursor(); |
+ ash::Shell::GetInstance()->cursor_manager()->UnlockCursor(); |
} |
// static |
@@ -76,7 +76,7 @@ DefaultWindowResizer::DefaultWindowResizer(const Details& details) |
: details_(details), |
did_move_or_resize_(false) { |
DCHECK(details_.is_resizable); |
- aura::Env::GetInstance()->cursor_manager()->LockCursor(); |
+ ash::Shell::GetInstance()->cursor_manager()->LockCursor(); |
} |
} // namespace aura |