Index: Source/core/svg/SVGFEOffsetElement.cpp |
diff --git a/Source/core/svg/SVGFEOffsetElement.cpp b/Source/core/svg/SVGFEOffsetElement.cpp |
index f95f2e1c237d229da363fdd58a30c4f6299fe0e2..e1a55a0c8963656ba64f5ff3f5065c22e7e6eec3 100644 |
--- a/Source/core/svg/SVGFEOffsetElement.cpp |
+++ b/Source/core/svg/SVGFEOffsetElement.cpp |
@@ -109,12 +109,12 @@ void SVGFEOffsetElement::svgAttributeChanged(const QualifiedName& attrName) |
PassRefPtr<FilterEffect> SVGFEOffsetElement::build(SVGFilterBuilder* filterBuilder, Filter* filter) |
{ |
- FilterEffect* input1 = filterBuilder->getEffectById(in1()); |
+ FilterEffect* input1 = filterBuilder->getEffectById(in1CurrentValue()); |
if (!input1) |
return 0; |
- RefPtr<FilterEffect> effect = FEOffset::create(filter, dx(), dy()); |
+ RefPtr<FilterEffect> effect = FEOffset::create(filter, dxCurrentValue(), dyCurrentValue()); |
effect->inputEffects().append(input1); |
return effect.release(); |
} |