commit | c12c1537204fef8843d2323dd5f471e30c1a75b3 | [log] [tgz] |
---|---|---|
author | Evan Stade <estade@chromium.org> | Tue Jul 17 18:11:50 2018 |
committer | Commit Bot <commit-bot@chromium.org> | Tue Jul 17 18:11:50 2018 |
tree | 8eb0ff98bc75fe14e2549e3a17829677d8d7d970 | |
parent | b3f05beb4b0b87874d29896735afe76e51745aee [diff] |
Re-land "Handle custom/bitmap cursors in ws2." This re-lands commit a6dc11ea630378ea89ca4f587 which was reverted for leaking (caught by lsan bot). Fix: unref custom cursors created in CursorData::ToNativeCursor Go through CursorFactoryOzone to load the PlatformCursor (which confusingly could be CursorData, but for now is X11CursorOzone). Also set fields on the cross-platform Cursor type so that code which relies on it such as CursorWindowController::UpdateCursorImage will work. That code path can be exercised with --ash-enable-cursor-motion-blur although there is currently no use of custom cursors with ws2. TBR=sky@chromium.org, tsepez@chromium.org Change-Id: I1d6324a6049d83850185171a42c164f7679f5a5e Reviewed-on: https://chromium-review.googlesource.com/1120860 Commit-Queue: Evan Stade <estade@chromium.org> Reviewed-by: Evan Stade <estade@chromium.org> Reviewed-by: Sadrul Chowdhury <sadrul@chromium.org> Cr-Commit-Position: refs/heads/master@{#575720}
Chromium is an open-source browser project that aims to build a safer, faster, and more stable way for all users to experience the web.
The project's web site is https://www.chromium.org.
Documentation in the source is rooted in docs/README.md.
Learn how to Get Around the Chromium Source Code Directory Structure .