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

Unified Diff: Source/core/animation/DocumentAnimations.cpp

Issue 946323002: Animations: Introduce compositor AnimationPlayer and AnimationTimeline. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Implement layer attach/detach. Fix code review issues. Created 5 years, 9 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: Source/core/animation/DocumentAnimations.cpp
diff --git a/Source/core/animation/DocumentAnimations.cpp b/Source/core/animation/DocumentAnimations.cpp
index 02fa51dd9fef53be95d2f04f8085f367ffff49fa..e8f290c1f588f32af3d87c701c7afe7f2425099e 100644
--- a/Source/core/animation/DocumentAnimations.cpp
+++ b/Source/core/animation/DocumentAnimations.cpp
@@ -87,6 +87,8 @@ bool DocumentAnimations::needsOutdatedAnimationPlayerUpdate(const Document& docu
void DocumentAnimations::updateCompositorAnimations(Document& document)
{
ASSERT(document.lifecycle().state() == DocumentLifecycle::CompositingClean);
+ document.timeline().updateCompositorPlayerToElementAttachments();
+
if (document.compositorPendingAnimations().update()) {
ASSERT(document.view());
document.view()->scheduleAnimation();

Powered by Google App Engine
This is Rietveld 408576698