Index: Source/core/svg/SVGDocumentExtensions.cpp |
diff --git a/Source/core/svg/SVGDocumentExtensions.cpp b/Source/core/svg/SVGDocumentExtensions.cpp |
index 6f678e64e5167d0c64efa8a5029687b7485050a9..3f3b527f0999a2707618e0e08cb95af1626ddb8b 100644 |
--- a/Source/core/svg/SVGDocumentExtensions.cpp |
+++ b/Source/core/svg/SVGDocumentExtensions.cpp |
@@ -411,8 +411,8 @@ void SVGDocumentExtensions::invalidateSVGRootsWithRelativeLengthDescendents(Subt |
TemporaryChange<bool> inRelativeLengthSVGRootsChange(m_inRelativeLengthSVGRootsInvalidation, true); |
#endif |
- HashSet<SVGSVGElement*>::iterator end = m_relativeLengthSVGRoots.end(); |
- for (HashSet<SVGSVGElement*>::iterator it = m_relativeLengthSVGRoots.begin(); it != end; ++it) |
+ WillBeHeapHashSet<RawPtrWillBeWeakMember<SVGSVGElement> >::iterator end = m_relativeLengthSVGRoots.end(); |
+ for (WillBeHeapHashSet<RawPtrWillBeWeakMember<SVGSVGElement> >::iterator it = m_relativeLengthSVGRoots.begin(); it != end; ++it) |
(*it)->invalidateRelativeLengthClients(scope); |
} |
@@ -483,6 +483,7 @@ void SVGDocumentExtensions::trace(Visitor* visitor) |
visitor->trace(m_timeContainers); |
visitor->trace(m_svgFontFaceElements); |
visitor->trace(m_pendingSVGFontFaceElementsForRemoval); |
+ visitor->trace(m_relativeLengthSVGRoots); |
} |
} |