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

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

Issue 298873003: SVG: SVGAnimateElement should not cache |m_animatedElements| (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: remove more asserts 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
« no previous file with comments | « Source/core/svg/SVGAnimatedNumber.cpp ('k') | Source/core/svg/SVGStaticStringList.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/svg/SVGAnimatedTypeAnimator.h
diff --git a/Source/core/svg/SVGAnimatedTypeAnimator.h b/Source/core/svg/SVGAnimatedTypeAnimator.h
index 5f3048c3cf34339a97e7413674bee5410419898a..fd5123b868953ac93151e552b25dc2b680e9648a 100644
--- a/Source/core/svg/SVGAnimatedTypeAnimator.h
+++ b/Source/core/svg/SVGAnimatedTypeAnimator.h
@@ -59,6 +59,9 @@ public:
void setContextElement(SVGElement* contextElement) { m_contextElement = contextElement; }
AnimatedPropertyType type() const { return m_type; }
+ bool isAnimatingSVGDom() const { return m_animatedProperty; }
+ bool isAnimatingCSSProperty() const { return !m_animatedProperty; }
+
void trace(Visitor*);
private:
@@ -68,9 +71,6 @@ private:
PassRefPtr<SVGPropertyBase> createPropertyForAnimation(const String&);
PassRefPtr<SVGPropertyBase> resetAnimation(const WillBeHeapVector<RawPtrWillBeMember<SVGElement> >&);
- bool isAnimatingSVGDom() const { return m_animatedProperty; }
- bool isAnimatingCSSProperty() const { return !m_animatedProperty; }
-
AnimatedPropertyType m_type;
RawPtrWillBeMember<SVGAnimationElement> m_animationElement;
RawPtrWillBeMember<SVGElement> m_contextElement;
« no previous file with comments | « Source/core/svg/SVGAnimatedNumber.cpp ('k') | Source/core/svg/SVGStaticStringList.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698