Index: ui/aura/window_event_dispatcher.cc |
diff --git a/ui/aura/window_event_dispatcher.cc b/ui/aura/window_event_dispatcher.cc |
index 823c8e85fa2c78e9353cc9da1fc28aca93885a13..755d15e7c98b37403db28ffce90f5c5b52943a1d 100644 |
--- a/ui/aura/window_event_dispatcher.cc |
+++ b/ui/aura/window_event_dispatcher.cc |
@@ -584,13 +584,6 @@ void WindowEventDispatcher::OnWindowBoundsChanged(Window* window, |
if (details.dispatcher_destroyed) |
return; |
- // Constrain the mouse position within the new root Window size. |
- gfx::Point point; |
- if (host_->QueryMouseLocation(&point)) { |
- SetLastMouseLocation( |
- host_->window(), |
- ui::ConvertPointToDIP(host_->window()->layer(), point)); |
- } |
synthesize_mouse_move_ = false; |
} |