Index: services/ui/ws/window_server.cc |
diff --git a/services/ui/ws/window_server.cc b/services/ui/ws/window_server.cc |
index 67b312547b4c89e727ca8c52d56a89c92c95000e..2f655d48e3b47a56900f8d9a2cfc59046bcbe318 100644 |
--- a/services/ui/ws/window_server.cc |
+++ b/services/ui/ws/window_server.cc |
@@ -599,8 +599,6 @@ void WindowServer::UpdateNativeCursorFromMouseLocation(ServerWindow* window) { |
EventDispatcher* event_dispatcher = |
display_root->window_manager_state()->event_dispatcher(); |
event_dispatcher->UpdateCursorProviderByLastKnownLocation(); |
- display_root->window_manager_state()->cursor_state().SetCurrentWindowCursor( |
- event_dispatcher->GetCurrentMouseCursor()); |
} |
} |
@@ -616,8 +614,6 @@ void WindowServer::UpdateNativeCursorIfOver(ServerWindow* window) { |
return; |
event_dispatcher->UpdateNonClientAreaForCurrentWindow(); |
- display_root->window_manager_state()->cursor_state().SetCurrentWindowCursor( |
- event_dispatcher->GetCurrentMouseCursor()); |
} |
bool WindowServer::IsUserInHighContrastMode(const UserId& user) const { |