| Index: services/ui/ws/platform_display.cc
|
| diff --git a/services/ui/ws/platform_display.cc b/services/ui/ws/platform_display.cc
|
| index a039209fd6cef090908e1e317ffe8470e8181655..367bdf7e847fd16d0eb72228e3db8e8a391701d1 100644
|
| --- a/services/ui/ws/platform_display.cc
|
| +++ b/services/ui/ws/platform_display.cc
|
| @@ -132,14 +132,14 @@ void DefaultPlatformDisplay::ReleaseCapture() {
|
| platform_window_->ReleaseCapture();
|
| }
|
|
|
| -void DefaultPlatformDisplay::SetCursorById(int32_t cursor_id) {
|
| +void DefaultPlatformDisplay::SetCursorById(mojom::Cursor cursor_id) {
|
| #if !defined(OS_ANDROID)
|
| // TODO(erg): This still isn't sufficient, and will only use native cursors
|
| // that chrome would use, not custom image cursors. For that, we should
|
| // delegate to the window manager to load images from resource packs.
|
| //
|
| // We probably also need to deal with different DPIs.
|
| - ui::Cursor cursor(cursor_id);
|
| + ui::Cursor cursor(static_cast<int32_t>(cursor_id));
|
| cursor_loader_->SetPlatformCursor(&cursor);
|
| platform_window_->SetCursor(cursor.platform());
|
| #endif
|
|
|