| Index: Source/core/svg/properties/NewSVGAnimatedProperty.cpp
|
| diff --git a/Source/core/svg/properties/NewSVGAnimatedProperty.cpp b/Source/core/svg/properties/NewSVGAnimatedProperty.cpp
|
| index 4065bcc03e218c3057ab14a7e9a75f73b88e8a4b..7268a0735a2d7838951b09a2f438470d823aa2fd 100644
|
| --- a/Source/core/svg/properties/NewSVGAnimatedProperty.cpp
|
| +++ b/Source/core/svg/properties/NewSVGAnimatedProperty.cpp
|
| @@ -37,6 +37,8 @@ namespace WebCore {
|
|
|
| NewSVGAnimatedPropertyBase::NewSVGAnimatedPropertyBase(AnimatedPropertyType type, SVGElement* contextElement, const QualifiedName& attributeName)
|
| : m_type(type)
|
| + , m_isReadOnly(false)
|
| + , m_isAnimating(false)
|
| , m_contextElement(contextElement)
|
| , m_attributeName(attributeName)
|
| {
|
| @@ -45,6 +47,29 @@ NewSVGAnimatedPropertyBase::NewSVGAnimatedPropertyBase(AnimatedPropertyType type
|
|
|
| NewSVGAnimatedPropertyBase::~NewSVGAnimatedPropertyBase()
|
| {
|
| + ASSERT(!isAnimating());
|
| +}
|
| +
|
| +void NewSVGAnimatedPropertyBase::animationStarted()
|
| +{
|
| + ASSERT(!isAnimating());
|
| + m_isAnimating = true;
|
| +}
|
| +
|
| +void NewSVGAnimatedPropertyBase::animValWillChange()
|
| +{
|
| + ASSERT(isAnimating());
|
| +}
|
| +
|
| +void NewSVGAnimatedPropertyBase::animValDidChange()
|
| +{
|
| + ASSERT(isAnimating());
|
| +}
|
| +
|
| +void NewSVGAnimatedPropertyBase::animationEnded()
|
| +{
|
| + ASSERT(isAnimating());
|
| + m_isAnimating = false;
|
| }
|
|
|
| void NewSVGAnimatedPropertyBase::synchronizeAttribute()
|
|
|