-
Henrique Ferreiro authored
Animated cursor assets were not being loaded because GetCursorDataFor was used for all cursors, instead of using GetAnimatedCursorDataFor when the cursor was animated. With this CL, both set of cursors are merged so they can be retrieved with a single call. To ease these changes, ImageCursor, which was a very thin layer over CursorLoader, was merged into the latter. This change has the benefit of unifying the cursor loading code path of Ash with the one of the other Aura platforms and changing Ash on Linux to use the Chromium assets instead of the platform cursors, as when running on Chrome OS devices. The only behavior change with respect to ImageCursors is that the cached cursors will be removed on display changes, instead of reloaded. Bug: 1135515 Change-Id: Iedf84290bf3792c3ce06cfad0be1b5c0e2d96946 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2440760 Commit-Queue: Henrique Ferreiro <hferreiro@igalia.com> Reviewed-by:
Scott Violet <sky@chromium.org> Cr-Commit-Position: refs/heads/master@{#815678}
dcee7502