Index: third_party/WebKit/Source/core/animation/AnimationEffect.cpp |
diff --git a/third_party/WebKit/Source/core/animation/AnimationEffect.cpp b/third_party/WebKit/Source/core/animation/AnimationEffect.cpp |
index 3d648893c2aebd147727a1aaed79b2dbb0b1cbcb..a1c02dd038472edb5d94b595738636ba8101bc25 100644 |
--- a/third_party/WebKit/Source/core/animation/AnimationEffect.cpp |
+++ b/third_party/WebKit/Source/core/animation/AnimationEffect.cpp |
@@ -95,6 +95,37 @@ void AnimationEffect::updateSpecifiedTiming(const Timing& timing) |
specifiedTimingChanged(); |
} |
+bool AnimationEffect::requiresIterationEvents() const |
+{ |
+ return m_eventDelegate && m_eventDelegate->requiresIterationEvents(*this); |
+} |
+ |
+void AnimationEffect::clearEventDelegate() |
+{ |
+ m_eventDelegate = nullptr; |
+} |
+ |
+void AnimationEffect::attach(Animation* animation) |
+{ |
+ m_animation = animation; |
+} |
+ |
+void AnimationEffect::detach() |
+{ |
+ ASSERT(m_animation); |
+ m_animation = nullptr; |
+} |
+ |
+const Animation* AnimationEffect::animation() const |
+{ |
+ return m_animation; |
+} |
+ |
+Animation* AnimationEffect::animation() |
+{ |
+ return m_animation; |
+} |
+ |
void AnimationEffect::computedTiming(ComputedTimingProperties& computedTiming) |
{ |
// ComputedTimingProperties members. |