Index: services/ui/ws/window_server.cc |
diff --git a/services/ui/ws/window_server.cc b/services/ui/ws/window_server.cc |
index 812240dfd1267bead665f2862d3d10c3597d7445..518b77899f0cce1f4118954fd0bd7fd12eecc0d5 100644 |
--- a/services/ui/ws/window_server.cc |
+++ b/services/ui/ws/window_server.cc |
@@ -611,8 +611,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()); |
} |
} |
@@ -628,8 +626,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 { |