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

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

Issue 2944423003: Implement new AnimationTimeline superclass (Closed)
Patch Set: Rebase 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 4258e9449a37dc1d2ee4375b1397269665e74c7d..1752237e69892e7a41dd3f0cbbd9029a49934b90 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);
}
@@ -299,6 +299,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