Index: Source/core/svg/SVGAnimatedNewPropertyAnimator.h |
diff --git a/Source/core/svg/SVGAnimatedNewPropertyAnimator.h b/Source/core/svg/SVGAnimatedNewPropertyAnimator.h |
index 5747b3b33af3d25440683ef9c6b98e967f651968..712774547d8730cebefeb772cb1dba1772d49ee5 100644 |
--- a/Source/core/svg/SVGAnimatedNewPropertyAnimator.h |
+++ b/Source/core/svg/SVGAnimatedNewPropertyAnimator.h |
@@ -40,7 +40,7 @@ class NewSVGAnimatedPropertyBase; |
// Bridges new SVGProperty impl. to existing SVG animation impl. |
class SVGAnimatedNewPropertyAnimator : public SVGAnimatedTypeAnimator { |
public: |
- SVGAnimatedNewPropertyAnimator(SVGAnimationElement*, SVGElement*); |
+ SVGAnimatedNewPropertyAnimator(SVGAnimationElement*, SVGElement*, AnimatedPropertyType); |
virtual ~SVGAnimatedNewPropertyAnimator(); |
PassRefPtr<NewSVGPropertyBase> createPropertyForAnimation(const String&); |
@@ -59,7 +59,13 @@ public: |
virtual float calculateDistance(const String& fromString, const String& toString); |
private: |
+ PassRefPtr<NewSVGPropertyBase> resetAnimation(const SVGElementAnimatedPropertyList&); |
+ |
+ // If this is not null, |this| is animating a SVG DOM animVal. |
+ // If this is null, |this| is animating a CSS property. |
RefPtr<NewSVGAnimatedPropertyBase> m_animatedProperty; |
+ |
+ AnimatedPropertyType m_propertyType; |
}; |
} // namespace WebCore |