Index: components/exo/pointer.cc |
diff --git a/components/exo/pointer.cc b/components/exo/pointer.cc |
index ec34b5a416e9f6c1133a09a4300f33dc426fb410..f95f92aa726a7ec9168a7b4dbfa775eda6f18555 100644 |
--- a/components/exo/pointer.cc |
+++ b/components/exo/pointer.cc |
@@ -255,7 +255,7 @@ void Pointer::OnScrollEvent(ui::ScrollEvent* event) { |
//////////////////////////////////////////////////////////////////////////////// |
// WMHelper::CursorObserver overrides: |
-void Pointer::OnCursorSetChanged(ui::CursorSetType cursor_set) { |
+void Pointer::OnCursorSizeChanged(ui::CursorSize cursor_size) { |
if (focus_) |
UpdateCursor(); |
} |
@@ -387,7 +387,7 @@ void Pointer::UpdateCursor() { |
float scale = helper->GetDisplayInfo(display.id()).device_scale_factor() / |
kCursorCaptureScale; |
- if (helper->GetCursorSet() == ui::CURSOR_SET_LARGE) |
+ if (helper->GetCursorSize() == ui::CursorSize::kLarge) |
scale *= kLargeCursorScale; |
ui::ScaleAndRotateCursorBitmapAndHotpoint(scale, display.rotation(), |