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

Unified Diff: services/ui/ws/window_tree.cc

Issue 2696963003: Split cursor location from UserDisplayManager. (Closed)
Patch Set: Fixes. Created 3 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
« services/ui/ws/display_manager.h ('K') | « services/ui/ws/window_manager_state.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: services/ui/ws/window_tree.cc
diff --git a/services/ui/ws/window_tree.cc b/services/ui/ws/window_tree.cc
index fbef1f3b914ad234414a29bd687686557aeae0ac..c03478c8d3086d0049964338071d439fb1a432c0 100644
--- a/services/ui/ws/window_tree.cc
+++ b/services/ui/ws/window_tree.cc
@@ -1729,9 +1729,9 @@ void WindowTree::GetWindowManagerClient(
void WindowTree::GetCursorLocationMemory(
const GetCursorLocationMemoryCallback& callback) {
- callback.Run(
- window_server_->display_manager()->GetUserDisplayManager(user_id_)->
- GetCursorLocationMemory());
+ callback.Run(window_server_->display_manager()
+ ->GetCursorLocationManager(user_id_)
+ ->GetCursorLocationMemory());
}
void WindowTree::PerformDragDrop(
« services/ui/ws/display_manager.h ('K') | « services/ui/ws/window_manager_state.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698