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

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

Issue 1455213006: [Not For Commit] Deferred building of PaintLayer filter-chain (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 1 month 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/FilterEffectBuilder.cpp
diff --git a/third_party/WebKit/Source/core/paint/FilterEffectBuilder.cpp b/third_party/WebKit/Source/core/paint/FilterEffectBuilder.cpp
index a706fa1dc9eaf4255d7233477a21e0b7b0650374..53b9dd4a28e481796acca2cfa1fc7de73a795558 100644
--- a/third_party/WebKit/Source/core/paint/FilterEffectBuilder.cpp
+++ b/third_party/WebKit/Source/core/paint/FilterEffectBuilder.cpp
@@ -257,5 +257,11 @@ bool FilterEffectBuilder::build(Element* element, const FilterOperations& operat
return true;
}
+void FilterEffectBuilder::reset()
+{
+ m_lastEffect = nullptr;
+ m_referenceFilters.clear();
+}
+
} // namespace blink

Powered by Google App Engine
This is Rietveld 408576698