Index: Source/core/svg/SVGAnimatedTransformList.cpp |
diff --git a/Source/core/svg/SVGAnimatedTransformList.cpp b/Source/core/svg/SVGAnimatedTransformList.cpp |
index bc11a030ace1f382f036759e20fa34aded6b2949..9a3971b938eb4a90c4b43c0604bed75c658784c0 100644 |
--- a/Source/core/svg/SVGAnimatedTransformList.cpp |
+++ b/Source/core/svg/SVGAnimatedTransformList.cpp |
@@ -34,7 +34,7 @@ namespace WebCore { |
SVGAnimatedTransformListAnimator::SVGAnimatedTransformListAnimator(SVGAnimationElement* animationElement, SVGElement* contextElement) |
: SVGAnimatedTypeAnimator(AnimatedTransformList, animationElement, contextElement) |
- , m_transformTypeString(SVGTransform::transformTypePrefixForParsing(static_cast<SVGAnimateTransformElement*>(animationElement)->transformType())) |
+ , m_transformTypeString(SVGTransform::transformTypePrefixForParsing(toSVGAnimateTransformElement(animationElement)->transformType())) |
{ |
// Only <animateTransform> uses this animator, as <animate> doesn't allow to animate transform lists directly. |
ASSERT(animationElement->hasTagName(SVGNames::animateTransformTag)); |