| Index: services/ui/ws/window_server.cc
|
| diff --git a/services/ui/ws/window_server.cc b/services/ui/ws/window_server.cc
|
| index 50ed7c452b2d7d8b592622873dc165421f9fb8c8..742e71c24ce633dc6865cb5ef0faf10f9838b470 100644
|
| --- a/services/ui/ws/window_server.cc
|
| +++ b/services/ui/ws/window_server.cc
|
| @@ -599,7 +599,7 @@ void WindowServer::UpdateNativeCursorFromMouseLocation(ServerWindow* window) {
|
| EventDispatcher* event_dispatcher =
|
| display_root->window_manager_state()->event_dispatcher();
|
| event_dispatcher->UpdateCursorProviderByLastKnownLocation();
|
| - display_root->display()->UpdateNativeCursor(
|
| + display_root->window_manager_state()->cursor_state().SetCurrentWindowCursor(
|
| event_dispatcher->GetCurrentMouseCursor());
|
| }
|
| }
|
| @@ -616,7 +616,7 @@ void WindowServer::UpdateNativeCursorIfOver(ServerWindow* window) {
|
| return;
|
|
|
| event_dispatcher->UpdateNonClientAreaForCurrentWindow();
|
| - display_root->display()->UpdateNativeCursor(
|
| + display_root->window_manager_state()->cursor_state().SetCurrentWindowCursor(
|
| event_dispatcher->GetCurrentMouseCursor());
|
| }
|
|
|
|
|