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..772e5fd97fdfc8215ceb33eab7ed33b0d12a5cb2 100644 |
--- a/services/ui/ws/window_tree.cc |
+++ b/services/ui/ws/window_tree.cc |
@@ -12,6 +12,7 @@ |
#include "base/macros.h" |
#include "base/memory/ptr_util.h" |
#include "mojo/public/cpp/bindings/map.h" |
+#include "services/ui/ws/cursor_location_manager.h" |
#include "services/ui/ws/default_access_policy.h" |
#include "services/ui/ws/display.h" |
#include "services/ui/ws/display_manager.h" |
@@ -1729,9 +1730,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( |