Remove SVGImage::AsSkBitmapForCursor
We can use a wrapping SVGImageForContainer instead, and then call AsSkBitmapForCurrentFrame() as in the BitmapImage case. Drop unnecessary null-checks for |image| (it is dereferenced already, and cannot be null because of ImageResourceContent::GetImage). Bug: 1121177 Change-Id: I1f327bdca72b6ba60ae30413607246226c4c7e49 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2375171Reviewed-by:Philip Rogers <pdr@chromium.org> Commit-Queue: Fredrik Söderquist <fs@opera.com> Cr-Commit-Position: refs/heads/master@{#801689}
Showing
Please register or sign in to comment