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

Unified Diff: third_party/WebKit/Source/core/dom/Document.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/dom/Document.cpp
diff --git a/third_party/WebKit/Source/core/dom/Document.cpp b/third_party/WebKit/Source/core/dom/Document.cpp
index 79e6b56486abab423bf7ca695de6a19b9bb20670..a1ed651fc46f18d753c098e6d61d6d4cdbabfc7a 100644
--- a/third_party/WebKit/Source/core/dom/Document.cpp
+++ b/third_party/WebKit/Source/core/dom/Document.cpp
@@ -584,6 +584,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),
@@ -6909,6 +6910,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