| Index: components/exo/shell_surface.cc
|
| diff --git a/components/exo/shell_surface.cc b/components/exo/shell_surface.cc
|
| index 06c675e5f1fd8e66dfdcd1c0c4c2688ccf21c899..5769513b161f987698d31cc0a0f66374949083b5 100644
|
| --- a/components/exo/shell_surface.cc
|
| +++ b/components/exo/shell_surface.cc
|
| @@ -11,7 +11,6 @@
|
| #include "ash/public/cpp/shell_window_ids.h"
|
| #include "ash/public/cpp/window_properties.h"
|
| #include "ash/public/interfaces/window_pin_type.mojom.h"
|
| -#include "ash/shell_port.h"
|
| #include "ash/wm/drag_window_resizer.h"
|
| #include "ash/wm/window_resizer.h"
|
| #include "ash/wm/window_state.h"
|
| @@ -153,10 +152,7 @@ class CustomWindowTargeter : public aura::WindowTargeter {
|
| class CustomWindowResizer : public ash::WindowResizer {
|
| public:
|
| explicit CustomWindowResizer(ash::wm::WindowState* window_state)
|
| - : WindowResizer(window_state) {
|
| - ash::ShellPort::Get()->LockCursor();
|
| - }
|
| - ~CustomWindowResizer() override { ash::ShellPort::Get()->UnlockCursor(); }
|
| + : WindowResizer(window_state) {}
|
|
|
| // Overridden from ash::WindowResizer:
|
| void Drag(const gfx::Point& location, int event_flags) override {}
|
|
|