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

Unified Diff: third_party/WebKit/Source/modules/compositorworker/AnimationWorkletThread.cpp

Issue 2894233002: [animation-worklet] invoke animate callback on mutation signal (Closed)
Patch Set: Created 3 years, 7 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/modules/compositorworker/AnimationWorkletThread.cpp
diff --git a/third_party/WebKit/Source/modules/compositorworker/AnimationWorkletThread.cpp b/third_party/WebKit/Source/modules/compositorworker/AnimationWorkletThread.cpp
index f6591163f2dcfb113737db665945bceca013d7da..739c357a149577c3a2d374ff6a002b85ea4e77e2 100644
--- a/third_party/WebKit/Source/modules/compositorworker/AnimationWorkletThread.cpp
+++ b/third_party/WebKit/Source/modules/compositorworker/AnimationWorkletThread.cpp
@@ -41,11 +41,10 @@ WorkerOrWorkletGlobalScope* AnimationWorkletThread::CreateWorkerGlobalScope(
security_origin->TransferPrivilegesFrom(
std::move(startup_data->starter_origin_privilege_data_));
- // TODO(ikilpatrick): The AnimationWorkletGlobalScope will need to store a
- // WorkerClients object for using a CompositorWorkerProxyClient object.
return AnimationWorkletGlobalScope::Create(
startup_data->script_url_, startup_data->user_agent_,
- security_origin.Release(), this->GetIsolate(), this);
+ security_origin.Release(), this->GetIsolate(), this,
+ startup_data->worker_clients_);
}
} // namespace blink

Powered by Google App Engine
This is Rietveld 408576698