Index: Source/core/svg/SVGUseElement.cpp |
diff --git a/Source/core/svg/SVGUseElement.cpp b/Source/core/svg/SVGUseElement.cpp |
index ecdea38ef69b5fd4692b2d62d0236f271d2b4403..0f78e7e3e26886cca11597dc806a96d0b08e11ba 100644 |
--- a/Source/core/svg/SVGUseElement.cpp |
+++ b/Source/core/svg/SVGUseElement.cpp |
@@ -867,9 +867,9 @@ void SVGUseElement::invalidateShadowTree() |
void SVGUseElement::invalidateDependentShadowTrees() |
{ |
// Recursively invalidate dependent <use> shadow trees |
- const HashSet<SVGElementInstance*>& instances = instancesForElement(); |
- const HashSet<SVGElementInstance*>::const_iterator end = instances.end(); |
- for (HashSet<SVGElementInstance*>::const_iterator it = instances.begin(); it != end; ++it) { |
+ const HashSet<SVGElement*>& instances = instancesForElement(); |
+ const HashSet<SVGElement*>::const_iterator end = instances.end(); |
+ for (HashSet<SVGElement*>::const_iterator it = instances.begin(); it != end; ++it) { |
if (SVGUseElement* element = (*it)->correspondingUseElement()) { |
ASSERT(element->inDocument()); |
element->invalidateShadowTree(); |