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

Unified Diff: third_party/WebKit/Source/core/paint/SVGFilterPainter.cpp

Issue 1961083006: Don't store an SkPicture in the SourceGraphic FilterEffect (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Drop clearResult call in addAbsolutePaintRect Created 4 years, 7 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/paint/SVGFilterPainter.cpp
diff --git a/third_party/WebKit/Source/core/paint/SVGFilterPainter.cpp b/third_party/WebKit/Source/core/paint/SVGFilterPainter.cpp
index b09a59a43cb3e834a1510143befc4a0c559a3190..852431671124d183ac90ad595fe529ab56c05d06 100644
--- a/third_party/WebKit/Source/core/paint/SVGFilterPainter.cpp
+++ b/third_party/WebKit/Source/core/paint/SVGFilterPainter.cpp
@@ -48,7 +48,7 @@ void SVGFilterRecordingContext::endContent(FilterData* filterData)
m_paintController->commitNewDisplayItems();
m_paintController->paintArtifact().replay(*context);
- sourceGraphic->setPicture(toSkSp(context->endRecording()));
+ SkiaImageFilterBuilder::buildSourceGraphic(sourceGraphic, toSkSp(context->endRecording()));
// Content is cached by the source graphic so temporaries can be freed.
m_paintController = nullptr;

Powered by Google App Engine
This is Rietveld 408576698