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

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

Issue 2718643002: Worker: Pass ParentFrameTaskRunners via WorkerThread::start() instead of the ctor (Closed)
Patch Set: Created 3 years, 10 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 bf59c89a28450e064ffed51b2375b4e5aafcc3d2..cafd59fab008896a48c01691c892d9ac7ceb0cdc 100644
--- a/third_party/WebKit/Source/modules/compositorworker/AnimationWorkletThread.cpp
+++ b/third_party/WebKit/Source/modules/compositorworker/AnimationWorkletThread.cpp
@@ -14,23 +14,19 @@ namespace blink {
std::unique_ptr<AnimationWorkletThread> AnimationWorkletThread::create(
PassRefPtr<WorkerLoaderProxy> workerLoaderProxy,
- WorkerReportingProxy& workerReportingProxy,
- ParentFrameTaskRunners* parentFrameTaskRunners) {
+ WorkerReportingProxy& workerReportingProxy) {
TRACE_EVENT0(TRACE_DISABLED_BY_DEFAULT("animation-worklet"),
"AnimationWorkletThread::create");
DCHECK(isMainThread());
- return WTF::wrapUnique(
- new AnimationWorkletThread(std::move(workerLoaderProxy),
- workerReportingProxy, parentFrameTaskRunners));
+ return WTF::wrapUnique(new AnimationWorkletThread(
+ std::move(workerLoaderProxy), workerReportingProxy));
}
AnimationWorkletThread::AnimationWorkletThread(
PassRefPtr<WorkerLoaderProxy> workerLoaderProxy,
- WorkerReportingProxy& workerReportingProxy,
- ParentFrameTaskRunners* parentFrameTaskRunners)
+ WorkerReportingProxy& workerReportingProxy)
: AbstractAnimationWorkletThread(std::move(workerLoaderProxy),
- workerReportingProxy,
- parentFrameTaskRunners) {}
+ workerReportingProxy) {}
AnimationWorkletThread::~AnimationWorkletThread() {}

Powered by Google App Engine
This is Rietveld 408576698