summaryrefslogtreecommitdiff
path: root/chromium/ui/base/cursor/cursor.h
diff options
context:
space:
mode:
Diffstat (limited to 'chromium/ui/base/cursor/cursor.h')
-rw-r--r--chromium/ui/base/cursor/cursor.h7
1 files changed, 2 insertions, 5 deletions
diff --git a/chromium/ui/base/cursor/cursor.h b/chromium/ui/base/cursor/cursor.h
index 1c54756715d..e5ffd67ffa3 100644
--- a/chromium/ui/base/cursor/cursor.h
+++ b/chromium/ui/base/cursor/cursor.h
@@ -17,13 +17,10 @@
namespace ui {
-#if defined(OS_WIN)
-typedef ::HCURSOR PlatformCursor;
-#else
// NOTE: On Ozone platforms, the type is chosen at runtime, and is either
// X11Cursor* or BitmapCursorOzone*.
-typedef void* PlatformCursor;
-#endif
+// On Windows, it's WinCursor*.
+using PlatformCursor = void*;
// Ref-counted cursor that supports both default and custom cursors.
class COMPONENT_EXPORT(UI_BASE_CURSOR_BASE) Cursor {