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

Unified Diff: third_party/WebKit/Source/core/workers/DedicatedWorkerThread.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/core/workers/DedicatedWorkerThread.cpp
diff --git a/third_party/WebKit/Source/core/workers/DedicatedWorkerThread.cpp b/third_party/WebKit/Source/core/workers/DedicatedWorkerThread.cpp
index 00d858052401fa42cc1b898805534e56b06d8a8b..7cd9d89e83fb341be38231d411e93cadb049fd1b 100644
--- a/third_party/WebKit/Source/core/workers/DedicatedWorkerThread.cpp
+++ b/third_party/WebKit/Source/core/workers/DedicatedWorkerThread.cpp
@@ -41,18 +41,18 @@
namespace blink {
std::unique_ptr<DedicatedWorkerThread> DedicatedWorkerThread::Create(
- PassRefPtr<WorkerLoaderProxy> worker_loader_proxy,
+ ThreadableLoadingContext* loading_context,
InProcessWorkerObjectProxy& worker_object_proxy,
double time_origin) {
return WTF::WrapUnique(new DedicatedWorkerThread(
- std::move(worker_loader_proxy), worker_object_proxy, time_origin));
+ loading_context, worker_object_proxy, time_origin));
}
DedicatedWorkerThread::DedicatedWorkerThread(
- PassRefPtr<WorkerLoaderProxy> worker_loader_proxy,
+ ThreadableLoadingContext* loading_context,
InProcessWorkerObjectProxy& worker_object_proxy,
double time_origin)
- : WorkerThread(std::move(worker_loader_proxy), worker_object_proxy),
+ : WorkerThread(loading_context, worker_object_proxy),
worker_backing_thread_(
WorkerBackingThread::Create("DedicatedWorker Thread")),
worker_object_proxy_(worker_object_proxy),

Powered by Google App Engine
This is Rietveld 408576698