Index: Source/core/svg/SVGPathElement.cpp |
diff --git a/Source/core/svg/SVGPathElement.cpp b/Source/core/svg/SVGPathElement.cpp |
index 5f490c012623c799ba672ab63236940bfdb919ca..8d16bbfc5a203f27c2365aeb543aa595658fa492 100644 |
--- a/Source/core/svg/SVGPathElement.cpp |
+++ b/Source/core/svg/SVGPathElement.cpp |
@@ -284,7 +284,7 @@ void SVGPathElement::invalidateMPathDependencies() |
HashSet<SVGElement*>::iterator end = dependencies->end(); |
for (HashSet<SVGElement*>::iterator it = dependencies->begin(); it != end; ++it) { |
if ((*it)->hasTagName(SVGNames::mpathTag)) |
- static_cast<SVGMPathElement*>(*it)->targetPathChanged(); |
+ toSVGMPathElement(*it)->targetPathChanged(); |
} |
} |
} |