Index: third_party/WebKit/Source/core/svg/graphics/SVGImage.cpp |
diff --git a/third_party/WebKit/Source/core/svg/graphics/SVGImage.cpp b/third_party/WebKit/Source/core/svg/graphics/SVGImage.cpp |
index c72135b1eac9a7ca91df2d09b0170c7bdc9b766b..a57d2f7ce6434ef5f6b226d2b4a847ed5ff1232b 100644 |
--- a/third_party/WebKit/Source/core/svg/graphics/SVGImage.cpp |
+++ b/third_party/WebKit/Source/core/svg/graphics/SVGImage.cpp |
@@ -365,7 +365,7 @@ bool SVGImage::ApplyShaderInternal(PaintFlags& flags, |
FloatRect float_bounds(FloatPoint(), size); |
const SkRect bounds(float_bounds); |
- flags.setShader(SkShader::MakePictureShader( |
+ flags.setShader(MakePaintShaderRecord( |
PaintRecordForCurrentFrame(float_bounds, url), SkShader::kRepeat_TileMode, |
SkShader::kRepeat_TileMode, &local_matrix, &bounds)); |