Index: Source/core/svg/SVGPathElement.cpp |
diff --git a/Source/core/svg/SVGPathElement.cpp b/Source/core/svg/SVGPathElement.cpp |
index ce793b1afca0675e22d7057aa9ad70ee5123d93f..1b5bf3765eb9d5b6299e04a41a572e5aec11e20b 100644 |
--- a/Source/core/svg/SVGPathElement.cpp |
+++ b/Source/core/svg/SVGPathElement.cpp |
@@ -243,7 +243,7 @@ void SVGPathElement::invalidateMPathDependencies() |
if (HashSet<SVGElement*>* dependencies = document().accessSVGExtensions().setOfElementsReferencingTarget(this)) { |
HashSet<SVGElement*>::iterator end = dependencies->end(); |
for (HashSet<SVGElement*>::iterator it = dependencies->begin(); it != end; ++it) { |
- if ((*it)->hasTagName(SVGNames::mpathTag)) |
+ if (isSVGMPathElement(**it)) |
toSVGMPathElement(*it)->targetPathChanged(); |
} |
} |