Index: Source/core/rendering/svg/ReferenceFilterBuilder.cpp |
diff --git a/Source/core/rendering/svg/ReferenceFilterBuilder.cpp b/Source/core/rendering/svg/ReferenceFilterBuilder.cpp |
index d7fd5dd000ac416571eb3d4b41088199080f14ce..b78922a10eeac94b7f847697afe4c2a1b9634fa4 100644 |
--- a/Source/core/rendering/svg/ReferenceFilterBuilder.cpp |
+++ b/Source/core/rendering/svg/ReferenceFilterBuilder.cpp |
@@ -142,11 +142,11 @@ PassRefPtr<FilterEffect> ReferenceFilterBuilder::build(Filter* parentFilter, Ren |
continue; |
effectElement->setStandardAttributes(effect.get()); |
- effect->setEffectBoundaries(SVGLengthContext::resolveRectangle<SVGFilterPrimitiveStandardAttributes>(effectElement, filterElement->primitiveUnits(), parentFilter->sourceImageRect())); |
+ effect->setEffectBoundaries(SVGLengthContext::resolveRectangle<SVGFilterPrimitiveStandardAttributes>(effectElement, filterElement->primitiveUnitsCurrentValue(), parentFilter->sourceImageRect())); |
ColorSpace colorSpace = filterColorSpace; |
if (useFilterColorSpace || getSVGStyledElementColorSpace(effectElement, colorSpace)) |
effect->setOperatingColorSpace(colorSpace); |
- builder->add(effectElement->result(), effect); |
+ builder->add(effectElement->resultCurrentValue(), effect); |
} |
return builder->lastEffect(); |
} |