Index: ui/aura/root_window.cc |
diff --git a/ui/aura/root_window.cc b/ui/aura/root_window.cc |
index 128a04424d45ae084e9b6ecfbd659e1d1b42979a..94b223122b2d385a423c3078a42b5faca4d7139a 100644 |
--- a/ui/aura/root_window.cc |
+++ b/ui/aura/root_window.cc |
@@ -715,8 +715,8 @@ void RootWindow::OnHostResized(const gfx::Size& size) { |
// Constrain the mouse position within the new root Window size. |
gfx::Point point; |
if (host_->QueryMouseLocation(&point)) { |
- SetLastMouseLocation(window(), |
- ui::ConvertPointToDIP(window()->layer(), point)); |
+ host_->ConvertPointFromHost(&point); |
+ SetLastMouseLocation(window(), point); |
sadrul
2014/02/11 19:09:37
This is a good fix. Mind having a test for this?
|
} |
synthesize_mouse_move_ = false; |
} |