| 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..e72f50f03c7d8a785cf0657d4634eee238efc431 100644
|
| --- a/third_party/WebKit/Source/modules/compositorworker/AnimationWorkletThread.cpp
|
| +++ b/third_party/WebKit/Source/modules/compositorworker/AnimationWorkletThread.cpp
|
| @@ -13,20 +13,19 @@
|
| namespace blink {
|
|
|
| std::unique_ptr<AnimationWorkletThread> AnimationWorkletThread::Create(
|
| - PassRefPtr<WorkerLoaderProxy> worker_loader_proxy,
|
| + ThreadableLoadingContext* loading_context,
|
| WorkerReportingProxy& worker_reporting_proxy) {
|
| TRACE_EVENT0(TRACE_DISABLED_BY_DEFAULT("animation-worklet"),
|
| "AnimationWorkletThread::create");
|
| DCHECK(IsMainThread());
|
| - return WTF::WrapUnique(new AnimationWorkletThread(
|
| - std::move(worker_loader_proxy), worker_reporting_proxy));
|
| + return WTF::WrapUnique(
|
| + new AnimationWorkletThread(loading_context, worker_reporting_proxy));
|
| }
|
|
|
| AnimationWorkletThread::AnimationWorkletThread(
|
| - PassRefPtr<WorkerLoaderProxy> worker_loader_proxy,
|
| + ThreadableLoadingContext* loading_context,
|
| WorkerReportingProxy& worker_reporting_proxy)
|
| - : AbstractAnimationWorkletThread(std::move(worker_loader_proxy),
|
| - worker_reporting_proxy) {}
|
| + : AbstractAnimationWorkletThread(loading_context, worker_reporting_proxy) {}
|
|
|
| AnimationWorkletThread::~AnimationWorkletThread() {}
|
|
|
|
|