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

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

Issue 2869183002: Initial implementation of WorkletAnimation (Closed)
Patch Set: Remove WorkletAnimationTest.cpp from BUILD.gn Created 3 years, 5 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/DocumentAnimations.cpp
diff --git a/third_party/WebKit/Source/core/animation/DocumentAnimations.cpp b/third_party/WebKit/Source/core/animation/DocumentAnimations.cpp
index 1c2a0e6dbf5c4de11678ddae8f1d098776866926..4a8935793fd59e45e047cdbc05b6a30a7fc062fb 100644
--- a/third_party/WebKit/Source/core/animation/DocumentAnimations.cpp
+++ b/third_party/WebKit/Source/core/animation/DocumentAnimations.cpp
@@ -33,6 +33,7 @@
#include "core/animation/AnimationClock.h"
#include "core/animation/CompositorPendingAnimations.h"
#include "core/animation/DocumentTimeline.h"
+#include "core/animation/WorkletAnimationController.h"
#include "core/dom/Document.h"
#include "core/dom/Element.h"
#include "core/dom/Node.h"
@@ -76,6 +77,8 @@ void DocumentAnimations::UpdateAnimations(
document.View()->ScheduleAnimation();
}
+ document.GetWorkletAnimationController().Update();
+
document.Timeline().ScheduleNextService();
}

Powered by Google App Engine
This is Rietveld 408576698