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

Unified Diff: third_party/WebKit/Source/core/dom/Document.cpp

Issue 2869183002: Initial implementation of WorkletAnimation (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/dom/Document.cpp
diff --git a/third_party/WebKit/Source/core/dom/Document.cpp b/third_party/WebKit/Source/core/dom/Document.cpp
index 9daa4f8ca93cff7d568dcadd12ccd3b5bce96c50..39531ddd8dc3b01723445d8301178664101cd480 100644
--- a/third_party/WebKit/Source/core/dom/Document.cpp
+++ b/third_party/WebKit/Source/core/dom/Document.cpp
@@ -582,6 +582,7 @@ Document::Document(const DocumentInit& initializer,
&Document::ElementDataCacheClearTimerFired),
timeline_(DocumentTimeline::Create(this)),
compositor_pending_animations_(new CompositorPendingAnimations(*this)),
+ worklet_animation_controller_(new WorkletAnimationController),
template_document_host_(nullptr),
did_associate_form_controls_timer_(
TaskRunnerHelper::Get(TaskType::kUnspecedLoading, this),
@@ -6817,6 +6818,7 @@ DEFINE_TRACE(Document) {
visitor->Trace(svg_extensions_);
visitor->Trace(timeline_);
visitor->Trace(compositor_pending_animations_);
+ visitor->Trace(worklet_animation_controller_);
visitor->Trace(context_document_);
visitor->Trace(canvas_font_cache_);
visitor->Trace(intersection_observer_controller_);

Powered by Google App Engine
This is Rietveld 408576698