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

Unified Diff: Source/core/platform/graphics/filters/FilterEffect.cpp

Issue 13984002: Extracting the SVG Filter Reference implementation out of the FilterEffectRenderer into its own typ… Base URL: https://chromium.googlesource.com/chromium/blink@master
Patch Set: Updated to ToT, fixed style, warnings Created 7 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: Source/core/platform/graphics/filters/FilterEffect.cpp
diff --git a/Source/core/platform/graphics/filters/FilterEffect.cpp b/Source/core/platform/graphics/filters/FilterEffect.cpp
index 920ae250b7d557dae9c5e4874e9afab671c777d9..4b41f54041dd7ab4966575ede558f5e7a381780b 100644
--- a/Source/core/platform/graphics/filters/FilterEffect.cpp
+++ b/Source/core/platform/graphics/filters/FilterEffect.cpp
@@ -200,6 +200,14 @@ void FilterEffect::clearResultsRecursive()
m_inputEffects.at(i).get()->clearResultsRecursive();
}
+void FilterEffect::setMaxEffectRectRecursive(const FloatRect& effectRect)
+{
+ setMaxEffectRect(effectRect);
+ unsigned size = m_inputEffects.size();
+ for (unsigned i = 0; i < size; ++i)
+ m_inputEffects.at(i).get()->setMaxEffectRectRecursive(effectRect);
+}
+
ImageBuffer* FilterEffect::asImageBuffer()
{
if (!hasResult())
« no previous file with comments | « Source/core/platform/graphics/filters/FilterEffect.h ('k') | Source/core/platform/graphics/filters/FilterOperation.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698