Index: third_party/WebKit/Source/core/svg/animation/SVGSMILElement.h |
diff --git a/third_party/WebKit/Source/core/svg/animation/SVGSMILElement.h b/third_party/WebKit/Source/core/svg/animation/SVGSMILElement.h |
index fb1e6ff7a63a7b71f1fa302dab5932c694bb5bee..16d7b7b017f521ea57c2a1a4f90471e3c6a97885 100644 |
--- a/third_party/WebKit/Source/core/svg/animation/SVGSMILElement.h |
+++ b/third_party/WebKit/Source/core/svg/animation/SVGSMILElement.h |
@@ -112,6 +112,10 @@ public: |
virtual void clearAnimatedType() = 0; |
virtual void applyResultsToTarget() = 0; |
+ bool animatedTypeIsLocked() const { return m_animatedPropertyLocked; } |
+ void lockAnimatedType() { DCHECK(!m_animatedPropertyLocked); m_animatedPropertyLocked = true; } |
+ void unlockAnimatedType() { DCHECK(m_animatedPropertyLocked); m_animatedPropertyLocked = false; } |
+ |
void connectSyncBaseConditions(); |
void connectEventBaseConditions(); |
@@ -277,6 +281,8 @@ private: |
mutable SMILTime m_cachedMin; |
mutable SMILTime m_cachedMax; |
+ bool m_animatedPropertyLocked; |
+ |
friend class ConditionEventListener; |
}; |