Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(173)

Unified Diff: ui/aura/window_event_dispatcher.cc

Issue 902123002: Fix initial hiding and centering cursor on Ozone (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« ash/display/display_controller.cc ('K') | « ui/aura/env.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/aura/window_event_dispatcher.cc
diff --git a/ui/aura/window_event_dispatcher.cc b/ui/aura/window_event_dispatcher.cc
index d0401efa395834e30efe12da167607cd6de9cf8d..b94db9e644a9188517e8e9999dbab0d8f3e8e14e 100644
--- a/ui/aura/window_event_dispatcher.cc
+++ b/ui/aura/window_event_dispatcher.cc
@@ -51,9 +51,9 @@ void SetLastMouseLocation(const Window* root_window,
if (client) {
gfx::Point location_in_screen = location_in_root;
client->ConvertPointToScreen(root_window, &location_in_screen);
- Env::GetInstance()->set_last_mouse_location(location_in_screen);
+ Env::GetInstance()->SetLastMouseLocation(location_in_screen);
} else {
- Env::GetInstance()->set_last_mouse_location(location_in_root);
+ Env::GetInstance()->SetLastMouseLocation(location_in_root);
}
}
« ash/display/display_controller.cc ('K') | « ui/aura/env.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698