Index: Source/core/svg/SVGMPathElement.cpp |
diff --git a/Source/core/svg/SVGMPathElement.cpp b/Source/core/svg/SVGMPathElement.cpp |
index c67ca5b81b328c1d0cc7472cda1272c89bdba37f..8fb5460edd357d6103e1b69d5d59a437d2fb826c 100644 |
--- a/Source/core/svg/SVGMPathElement.cpp |
+++ b/Source/core/svg/SVGMPathElement.cpp |
@@ -155,7 +155,7 @@ void SVGMPathElement::targetPathChanged() |
void SVGMPathElement::notifyParentOfPathChange(ContainerNode* parent) |
{ |
if (parent && parent->hasTagName(SVGNames::animateMotionTag)) |
- static_cast<SVGAnimateMotionElement*>(parent)->updateAnimationPath(); |
+ toSVGAnimateMotionElement(parent)->updateAnimationPath(); |
} |
} // namespace WebCore |