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

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

Issue 2869183002: Initial implementation of WorkletAnimation (Closed)
Patch Set: Fix include for new v8 bindings path Created 3 years, 3 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 da753f36b0ef72d8c75c8306aba50db96130842d..536c81e651bf42cdf96ba38532c3c33ee52d167d 100644
--- a/third_party/WebKit/Source/core/dom/Document.cpp
+++ b/third_party/WebKit/Source/core/dom/Document.cpp
@@ -641,6 +641,7 @@ Document::Document(const DocumentInit& initializer,
&Document::ElementDataCacheClearTimerFired),
timeline_(DocumentTimeline::Create(this)),
pending_animations_(new PendingAnimations(*this)),
+ worklet_animation_controller_(new WorkletAnimationController),
haraken 2017/09/08 01:11:23 Don't you need to take some action when Document i
smcgruer 2017/09/11 18:19:00 At the moment, I'm unsure. This was based on Pendi
template_document_host_(nullptr),
did_associate_form_controls_timer_(
TaskRunnerHelper::Get(TaskType::kUnspecedLoading, this),
@@ -7007,6 +7008,7 @@ DEFINE_TRACE(Document) {
visitor->Trace(svg_extensions_);
visitor->Trace(timeline_);
visitor->Trace(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