summaryrefslogtreecommitdiff
path: root/chromium/ui/base/cursor/cursor.h
diff options
context:
space:
mode:
authorAllan Sandfeld Jensen <allan.jensen@qt.io>2021-05-20 09:47:09 +0200
committerAllan Sandfeld Jensen <allan.jensen@qt.io>2021-06-07 11:15:42 +0000
commit189d4fd8fad9e3c776873be51938cd31a42b6177 (patch)
tree6497caeff5e383937996768766ab3bb2081a40b2 /chromium/ui/base/cursor/cursor.h
parent8bc75099d364490b22f43a7ce366b366c08f4164 (diff)
downloadqtwebengine-chromium-189d4fd8fad9e3c776873be51938cd31a42b6177.tar.gz
BASELINE: Update Chromium to 90.0.4430.221
Change-Id: Iff4d9d18d2fcf1a576f3b1f453010f744a232920 Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
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 {