Index: services/ui/ws/window_manager_state.cc |
diff --git a/services/ui/ws/window_manager_state.cc b/services/ui/ws/window_manager_state.cc |
index 35ff9b97c487463b8cfd6fd9821bf7c93125a573..295eb4dbd82cdeea189d594a7e6b9f7c774b7c0a 100644 |
--- a/services/ui/ws/window_manager_state.cc |
+++ b/services/ui/ws/window_manager_state.cc |
@@ -588,10 +588,9 @@ void WindowManagerState::ReleaseNativeCapture() { |
} |
void WindowManagerState::UpdateNativeCursorFromDispatcher() { |
- const ui::mojom::CursorType cursor_id = |
- event_dispatcher_.GetCurrentMouseCursor(); |
+ const ui::CursorData cursor = event_dispatcher_.GetCurrentMouseCursor(); |
for (Display* display : display_manager()->displays()) |
- display->UpdateNativeCursor(cursor_id); |
+ display->UpdateNativeCursor(cursor); |
} |
void WindowManagerState::OnCaptureChanged(ServerWindow* new_capture, |