Index: Source/core/rendering/svg/RenderSVGResourceFilter.cpp |
diff --git a/Source/core/rendering/svg/RenderSVGResourceFilter.cpp b/Source/core/rendering/svg/RenderSVGResourceFilter.cpp |
index f01b33aa14916a26c6ef7b70ce7d5b5df09e8433..8d44c5cd4deac92629669c90cf7cb4532e19e2b9 100644 |
--- a/Source/core/rendering/svg/RenderSVGResourceFilter.cpp |
+++ b/Source/core/rendering/svg/RenderSVGResourceFilter.cpp |
@@ -206,13 +206,13 @@ bool RenderSVGResourceFilter::applyResource(RenderObject* object, RenderStyle*, |
if (!lastEffect) |
return false; |
- RenderSVGResourceFilterPrimitive::determineFilterPrimitiveSubregion(lastEffect); |
+ lastEffect->determineFilterPrimitiveSubregion(ClipToFilterRegion); |
FloatRect subRegion = lastEffect->maxEffectRect(); |
// At least one FilterEffect has a too big image size, |
// recalculate the effect sizes with new scale factors. |
if (!fitsInMaximumImageSize(subRegion.size(), scale)) { |
filterData->filter->setFilterResolution(scale); |
- RenderSVGResourceFilterPrimitive::determineFilterPrimitiveSubregion(lastEffect); |
+ lastEffect->determineFilterPrimitiveSubregion(ClipToFilterRegion); |
} |
// If the drawingRegion is empty, we have something like <g filter=".."/>. |