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

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

Issue 2810363004: Revert of Back PaintRecord with PaintOpBuffer instead of SkPicture (Closed)
Patch Set: 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 39564a8e7b60764c9ea9d1923b9acde7d1233307..445cfe0742d4cc1beb6b7d62adb2df6123491e62 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 @@
FloatRect float_bounds(FloatPoint(), size);
const SkRect bounds(float_bounds);
- flags.setShader(MakePaintShaderRecord(
+ flags.setShader(SkShader::MakePictureShader(
PaintRecordForCurrentFrame(float_bounds, url), SkShader::kRepeat_TileMode,
SkShader::kRepeat_TileMode, &local_matrix, &bounds));

Powered by Google App Engine
This is Rietveld 408576698