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

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: remove notification from detach 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..a943e37936420bdfce4d2fb28629e164ed5948cf 100644
--- a/Source/core/svg/SVGDocumentExtensions.h
+++ b/Source/core/svg/SVGDocumentExtensions.h
@@ -69,8 +69,12 @@ public:
HashSet<SVGElement*>* setOfElementsReferencingTarget(SVGElement* referencedElement) const;
void addElementReferencingTarget(SVGElement* referencingElement, SVGElement* referencedElement);
+ enum RebuildTargetFilter {
+ AllElements,
+ ExcludeUseElements
+ };
+ void rebuildAllElementReferencesForTarget(SVGElement*, RebuildTargetFilter = ExcludeUseElements);
void removeAllTargetReferencesForElement(SVGElement*);
- void rebuildAllElementReferencesForTarget(SVGElement*);
void removeAllElementReferencesForTarget(SVGElement*);
void addSVGRootWithRelativeLengthDescendents(SVGSVGElement*);

Powered by Google App Engine
This is Rietveld 408576698