Index: ash/wm/ash_native_cursor_manager.cc |
diff --git a/ash/wm/ash_native_cursor_manager.cc b/ash/wm/ash_native_cursor_manager.cc |
index ae7bcd4e60350bf8032919554ab89592ee549e97..ce75dcde4965198cacd5a5a020cd89937ec6aa3c 100644 |
--- a/ash/wm/ash_native_cursor_manager.cc |
+++ b/ash/wm/ash_native_cursor_manager.cc |
@@ -154,8 +154,7 @@ void AshNativeCursorManager::SetMouseEventsEnabled( |
delegate->CommitMouseEventsEnabled(enabled); |
if (enabled) { |
- aura::Env::GetInstance()->set_last_mouse_location( |
- disabled_cursor_location_); |
+ aura::Env::GetInstance()->SetLastMouseLocation(disabled_cursor_location_); |
} else { |
disabled_cursor_location_ = aura::Env::GetInstance()->last_mouse_location(); |
} |