Index: third_party/WebKit/Source/platform/graphics/Image.cpp |
diff --git a/third_party/WebKit/Source/platform/graphics/Image.cpp b/third_party/WebKit/Source/platform/graphics/Image.cpp |
index 9408ace1b70c3dd7f8ba1846b20dda0533aae185..962fd2a506e6037c72ef5923b62b655342cc5eff 100644 |
--- a/third_party/WebKit/Source/platform/graphics/Image.cpp |
+++ b/third_party/WebKit/Source/platform/graphics/Image.cpp |
@@ -273,6 +273,9 @@ bool Image::applyShader(SkPaint& paint, const SkMatrix& localMatrix) |
paint.setShader( |
image->makeShader(SkShader::kRepeat_TileMode, SkShader::kRepeat_TileMode, &localMatrix)); |
+ // Animation is normally refreshed in draw() impls, which we don't call when painting via shaders. |
+ startAnimation(); |
+ |
return true; |
} |