Index: Source/core/rendering/svg/RenderSVGResourceFilter.h |
diff --git a/Source/core/rendering/svg/RenderSVGResourceFilter.h b/Source/core/rendering/svg/RenderSVGResourceFilter.h |
index 9d12601668260684fa03fed7129243884241b97c..90220678d4f42e71cc599f366ae1d004c5aa16e3 100644 |
--- a/Source/core/rendering/svg/RenderSVGResourceFilter.h |
+++ b/Source/core/rendering/svg/RenderSVGResourceFilter.h |
@@ -73,8 +73,8 @@ public: |
PassRefPtr<SVGFilterBuilder> buildPrimitives(SVGFilter*); |
- SVGUnitTypes::SVGUnitType filterUnits() const { return static_cast<SVGFilterElement*>(node())->filterUnitsCurrentValue(); } |
- SVGUnitTypes::SVGUnitType primitiveUnits() const { return static_cast<SVGFilterElement*>(node())->primitiveUnitsCurrentValue(); } |
+ SVGUnitTypes::SVGUnitType filterUnits() const { return toSVGFilterElement(node())->filterUnitsCurrentValue(); } |
+ SVGUnitTypes::SVGUnitType primitiveUnits() const { return toSVGFilterElement(node())->primitiveUnitsCurrentValue(); } |
void primitiveAttributeChanged(RenderObject*, const QualifiedName&); |