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

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

Issue 327473002: Prepare SVGDocumentExtensions::m_elementDependencies for oilpan (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: add comment about rebuild 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
« Source/core/svg/SVGDocumentExtensions.h ('K') | « Source/core/svg/SVGElement.cpp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/svg/SVGPathElement.cpp
diff --git a/Source/core/svg/SVGPathElement.cpp b/Source/core/svg/SVGPathElement.cpp
index bc9bb19a05c68aa4e85c40b7ef756136aefdee9a..9ad7766ed80b2ace03eda27b2b92785b9ada6006 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 (WeakSVGElementSet* dependencies = document().accessSVGExtensions().setOfElementsReferencingTarget(this)) {
+ WeakSVGElementSet::iterator end = dependencies->end();
+ for (WeakSVGElementSet::iterator it = dependencies->begin(); it != end; ++it) {
if (isSVGMPathElement(**it))
toSVGMPathElement(*it)->targetPathChanged();
}
« Source/core/svg/SVGDocumentExtensions.h ('K') | « Source/core/svg/SVGElement.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698