Index: Source/core/svg/SVGFEDropShadowElement.cpp |
diff --git a/Source/core/svg/SVGFEDropShadowElement.cpp b/Source/core/svg/SVGFEDropShadowElement.cpp |
index 64609a395c86c704949fb4c54e96e2581e74c7d9..7e18c8dcd6acfd619ffda411af7e834b2e4ed116 100644 |
--- a/Source/core/svg/SVGFEDropShadowElement.cpp |
+++ b/Source/core/svg/SVGFEDropShadowElement.cpp |
@@ -154,7 +154,7 @@ PassRefPtr<FilterEffect> SVGFEDropShadowElement::build(SVGFilterBuilder* filterB |
if (!renderer) |
return 0; |
- if (stdDeviationX() < 0 || stdDeviationY() < 0) |
+ if (stdDeviationXCurrentValue() < 0 || stdDeviationYCurrentValue() < 0) |
return 0; |
ASSERT(renderer->style()); |
@@ -163,11 +163,11 @@ PassRefPtr<FilterEffect> SVGFEDropShadowElement::build(SVGFilterBuilder* filterB |
Color color = svgStyle->floodColor(); |
float opacity = svgStyle->floodOpacity(); |
- FilterEffect* input1 = filterBuilder->getEffectById(in1()); |
+ FilterEffect* input1 = filterBuilder->getEffectById(in1CurrentValue()); |
if (!input1) |
return 0; |
- RefPtr<FilterEffect> effect = FEDropShadow::create(filter, stdDeviationX(), stdDeviationY(), dx(), dy(), color, opacity); |
+ RefPtr<FilterEffect> effect = FEDropShadow::create(filter, stdDeviationXCurrentValue(), stdDeviationYCurrentValue(), dxCurrentValue(), dyCurrentValue(), color, opacity); |
effect->inputEffects().append(input1); |
return effect.release(); |
} |