Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1464)

Unified Diff: Source/core/svg/SVGDocumentExtensions.cpp

Issue 323803002: prepare |SVGDocumentExtensions::m_relativeLengthSVGRoots| for oilpan (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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);
}
}
« Source/core/svg/SVGDocumentExtensions.h ('K') | « Source/core/svg/SVGDocumentExtensions.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698