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

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

Issue 1396783003: Factor PaintArtifact out of DisplayItemList. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@const-replay
Patch Set: Created 5 years, 2 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 bb7a3f932b15b7f932fe9211271b621ad237ad3c..5dc21e87c207bd21c6f6a7c1557fc67d1ff89a69 100644
--- a/third_party/WebKit/Source/core/paint/SVGFilterPainter.cpp
+++ b/third_party/WebKit/Source/core/paint/SVGFilterPainter.cpp
@@ -49,7 +49,8 @@ void SVGFilterRecordingContext::endContent(FilterData* filterData)
ASSERT(m_context);
context = m_context.get();
context->beginRecording(filterData->filter->filterRegion());
- m_displayItemList->commitNewDisplayItemsAndReplay(*context);
+ m_displayItemList->commitNewDisplayItems();
+ m_displayItemList->paintArtifact().replay(*context);
sourceGraphic->setPicture(context->endRecording());

Powered by Google App Engine
This is Rietveld 408576698