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

Unified Diff: third_party/WebKit/Source/core/animation/AnimationEffect.cpp

Issue 1455943002: [Oilpan] Prepare full definition of classes before using Member (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: CORE_EXPORT Created 5 years, 1 month 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
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.

Powered by Google App Engine
This is Rietveld 408576698