Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(731)

Unified Diff: third_party/WebKit/Source/core/svg/graphics/SVGImage.cpp

Issue 2768143002: Back PaintRecord with PaintOpBuffer instead of SkPicture (Closed)
Patch Set: vmpstr review, fix mac theme issuesa Created 3 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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 f30cb10455ac6a38b3276de91bde8cecc35684bb..898a72375042abd68a48ac3abbdb45b6e2c657e0 100644
--- a/third_party/WebKit/Source/core/svg/graphics/SVGImage.cpp
+++ b/third_party/WebKit/Source/core/svg/graphics/SVGImage.cpp
@@ -364,7 +364,7 @@ bool SVGImage::applyShaderInternal(PaintFlags& flags,
FloatRect floatBounds(FloatPoint(), size);
const SkRect bounds(floatBounds);
- flags.setShader(SkShader::MakePictureShader(
+ flags.setShader(MakePaintShaderRecord(
paintRecordForCurrentFrame(floatBounds, url), SkShader::kRepeat_TileMode,
SkShader::kRepeat_TileMode, &localMatrix, &bounds));

Powered by Google App Engine
This is Rietveld 408576698