| 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 45bf88f6f3e9422f08a84ab7e77337eeadc0607a..01f5055d1b8c1537b4cb5150baf8b1ceb14e31cf 100644
|
| --- a/third_party/WebKit/Source/modules/compositorworker/AnimationWorkletThread.cpp
|
| +++ b/third_party/WebKit/Source/modules/compositorworker/AnimationWorkletThread.cpp
|
| @@ -14,19 +14,23 @@ namespace blink {
|
|
|
| std::unique_ptr<AnimationWorkletThread> AnimationWorkletThread::create(
|
| PassRefPtr<WorkerLoaderProxy> workerLoaderProxy,
|
| - WorkerReportingProxy& workerReportingProxy) {
|
| + WorkerReportingProxy& workerReportingProxy,
|
| + ParentFrameTaskRunners* parentFrameTaskRunners) {
|
| TRACE_EVENT0(TRACE_DISABLED_BY_DEFAULT("animation-worklet"),
|
| "AnimationWorkletThread::create");
|
| DCHECK(isMainThread());
|
| - return WTF::wrapUnique(new AnimationWorkletThread(
|
| - std::move(workerLoaderProxy), workerReportingProxy));
|
| + return WTF::wrapUnique(
|
| + new AnimationWorkletThread(std::move(workerLoaderProxy),
|
| + workerReportingProxy, parentFrameTaskRunners));
|
| }
|
|
|
| AnimationWorkletThread::AnimationWorkletThread(
|
| PassRefPtr<WorkerLoaderProxy> workerLoaderProxy,
|
| - WorkerReportingProxy& workerReportingProxy)
|
| + WorkerReportingProxy& workerReportingProxy,
|
| + ParentFrameTaskRunners* parentFrameTaskRunners)
|
| : AbstractAnimationWorkletThread(std::move(workerLoaderProxy),
|
| - workerReportingProxy) {}
|
| + workerReportingProxy,
|
| + parentFrameTaskRunners) {}
|
|
|
| AnimationWorkletThread::~AnimationWorkletThread() {}
|
|
|
|
|