Index: ui/aura/root_window.cc |
diff --git a/ui/aura/root_window.cc b/ui/aura/root_window.cc |
index 4cc218be635bd9253c25b9e5f1271a50cfe6b3f4..f29bf5e4772d0112d90a23f7f15e9e8a85a4f1ce 100644 |
--- a/ui/aura/root_window.cc |
+++ b/ui/aura/root_window.cc |
@@ -988,7 +988,7 @@ void RootWindow::SynthesizeMouseMoveEvent() { |
synthesize_mouse_move_ = false; |
#if !defined(OS_WIN) |
// Temporarily disabled for windows. See crbug.com/112222. |
- gfx::Point3f point(Env::GetInstance()->last_mouse_location()); |
+ gfx::Point3f point(GetLastMouseLocationInRoot()); |
ui::Transform transform = layer()->transform(); |
float scale = ui::GetDeviceScaleFactor(layer()); |
transform.ConcatScale(scale, scale); |