Use SkBitmapOperations to extract a frame of animation cursors.
r201206 caused a regression. It broke animation cursors, because SkBitmap.extractSubset() doesn't extract a frame of animation cursor image. This patch fixes the regression, using SkBitmapOperations::CreateTiledBitmap to extract a frame of animation image instead of SkBitmap.extractSubset(). BUG=126942 TEST=The wait cursor animates correctly. Review URL: https://chromiumcodereview.appspot.com/15896012 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@202825 0039d316-1c4b-4281-b951-d872f2087c98
Showing
Please register or sign in to comment