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

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

Issue 298873003: SVG: SVGAnimateElement should not cache |m_animatedElements| (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: rebased Created 6 years, 7 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.h
diff --git a/Source/core/svg/SVGDocumentExtensions.h b/Source/core/svg/SVGDocumentExtensions.h
index 1ceb7ab3a494f38a1df08d364f82a5d0e12ebb9a..84180a209c5dea548d356a847899877b456d3f8f 100644
--- a/Source/core/svg/SVGDocumentExtensions.h
+++ b/Source/core/svg/SVGDocumentExtensions.h
@@ -69,8 +69,13 @@ public:
HashSet<SVGElement*>* setOfElementsReferencingTarget(SVGElement* referencedElement) const;
void addElementReferencingTarget(SVGElement* referencingElement, SVGElement* referencedElement);
+ enum RebuildTargetFilter {
+ AllElements,
+ LimitToSMILElements
+ };
+ void rebuildAllElementReferencesForTarget(SVGElement*, RebuildTargetFilter = AllElements);
+ void rebuildSMILElementReferencesForTarget(SVGElement*);
void removeAllTargetReferencesForElement(SVGElement*);
- void rebuildAllElementReferencesForTarget(SVGElement*);
void removeAllElementReferencesForTarget(SVGElement*);
void addSVGRootWithRelativeLengthDescendents(SVGSVGElement*);

Powered by Google App Engine
This is Rietveld 408576698