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

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

Issue 2840473002: Worker: Remove WorkerLoaderProxy for clean-up (Closed)
Patch Set: clean up 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 595085177dc8f17663e693ea684dae4bff39cf91..0952160e5e10e8e8d117092628b8ca3cc8bd5bfc 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() {}

Powered by Google App Engine
This is Rietveld 408576698