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

Unified Diff: third_party/WebKit/Source/modules/compositorworker/AbstractAnimationWorkletThread.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/AbstractAnimationWorkletThread.cpp
diff --git a/third_party/WebKit/Source/modules/compositorworker/AbstractAnimationWorkletThread.cpp b/third_party/WebKit/Source/modules/compositorworker/AbstractAnimationWorkletThread.cpp
index b9d40998b9f3a76d27129136e65251c02ace00df..d734b294137dea6d77ac5e95e97f751db58c3a0a 100644
--- a/third_party/WebKit/Source/modules/compositorworker/AbstractAnimationWorkletThread.cpp
+++ b/third_party/WebKit/Source/modules/compositorworker/AbstractAnimationWorkletThread.cpp
@@ -5,6 +5,7 @@
#include "modules/compositorworker/AbstractAnimationWorkletThread.h"
#include <memory>
+#include "core/loader/ThreadableLoadingContext.h"
#include "core/workers/WorkerBackingThread.h"
#include "core/workers/WorkletThreadHolder.h"
#include "platform/CrossThreadFunctional.h"
@@ -18,9 +19,9 @@ namespace blink {
template class WorkletThreadHolder<AbstractAnimationWorkletThread>;
AbstractAnimationWorkletThread::AbstractAnimationWorkletThread(
- PassRefPtr<WorkerLoaderProxy> worker_loader_proxy,
+ ThreadableLoadingContext* loading_context,
WorkerReportingProxy& worker_reporting_proxy)
- : WorkerThread(std::move(worker_loader_proxy), worker_reporting_proxy) {}
+ : WorkerThread(loading_context, worker_reporting_proxy) {}
AbstractAnimationWorkletThread::~AbstractAnimationWorkletThread() {}

Powered by Google App Engine
This is Rietveld 408576698