summaryrefslogtreecommitdiffstats
path: root/chromium/third_party/WebKit/Source/core/svg/graphics/filters/SVGFilterBuilder.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'chromium/third_party/WebKit/Source/core/svg/graphics/filters/SVGFilterBuilder.cpp')
-rw-r--r--chromium/third_party/WebKit/Source/core/svg/graphics/filters/SVGFilterBuilder.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/chromium/third_party/WebKit/Source/core/svg/graphics/filters/SVGFilterBuilder.cpp b/chromium/third_party/WebKit/Source/core/svg/graphics/filters/SVGFilterBuilder.cpp
index fec801263c6..d63e1f7d033 100644
--- a/chromium/third_party/WebKit/Source/core/svg/graphics/filters/SVGFilterBuilder.cpp
+++ b/chromium/third_party/WebKit/Source/core/svg/graphics/filters/SVGFilterBuilder.cpp
@@ -80,7 +80,7 @@ void SVGFilterBuilder::appendEffectToEffectReferences(PassRefPtr<FilterEffect> p
void SVGFilterBuilder::clearEffects()
{
- m_lastEffect = 0;
+ m_lastEffect = nullptr;
m_namedEffects.clear();
m_effectReferences.clear();
m_effectRenderer.clear();
@@ -89,7 +89,7 @@ void SVGFilterBuilder::clearEffects()
void SVGFilterBuilder::clearResultsRecursive(FilterEffect* effect)
{
- if (!effect->hasResult())
+ if (!effect->hasResult() && !effect->hasImageFilter())
return;
effect->clearResult();