Index: Source/core/svg/SVGPathElement.cpp |
diff --git a/Source/core/svg/SVGPathElement.cpp b/Source/core/svg/SVGPathElement.cpp |
index bc9bb19a05c68aa4e85c40b7ef756136aefdee9a..b4b151010268e2b07f316af29584e8764b53b4e9 100644 |
--- a/Source/core/svg/SVGPathElement.cpp |
+++ b/Source/core/svg/SVGPathElement.cpp |
@@ -234,9 +234,9 @@ void SVGPathElement::invalidateMPathDependencies() |
{ |
// <mpath> can only reference <path> but this dependency is not handled in |
// markForLayoutAndParentResourceInvalidation so we update any mpath dependencies manually. |
- 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 (SVGElementSet* dependencies = document().accessSVGExtensions().setOfElementsReferencingTarget(this)) { |
+ SVGElementSet::iterator end = dependencies->end(); |
+ for (SVGElementSet::iterator it = dependencies->begin(); it != end; ++it) { |
if (isSVGMPathElement(**it)) |
toSVGMPathElement(*it)->targetPathChanged(); |
} |