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

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

Issue 2944423003: Implement new AnimationTimeline superclass (Closed)
Patch Set: Created 3 years, 6 months 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/AnimationTimeline.cpp
diff --git a/third_party/WebKit/Source/core/animation/AnimationTimeline.cpp b/third_party/WebKit/Source/core/animation/AnimationTimeline.cpp
index f5036c0551b350fee1d867517c9b5fecf42235e6..9470202cb8e90c62b94126962bf54b417e107142 100644
--- a/third_party/WebKit/Source/core/animation/AnimationTimeline.cpp
+++ b/third_party/WebKit/Source/core/animation/AnimationTimeline.cpp
@@ -87,7 +87,7 @@ bool AnimationTimeline::IsActive() {
}
void AnimationTimeline::AnimationAttached(Animation& animation) {
- DCHECK_EQ(animation.timeline(), this);
+ DCHECK_EQ(animation.TimelineInternal(), this);
DCHECK(!animations_.Contains(&animation));
animations_.insert(&animation);
}
@@ -322,6 +322,7 @@ DEFINE_TRACE(AnimationTimeline) {
visitor->Trace(timing_);
visitor->Trace(animations_needing_update_);
visitor->Trace(animations_);
+ SuperAnimationTimeline::Trace(visitor);
}
} // namespace blink

Powered by Google App Engine
This is Rietveld 408576698