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

Unified Diff: third_party/WebKit/Source/core/workers/SharedWorkerThread.h

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/SharedWorkerThread.h
diff --git a/third_party/WebKit/Source/core/workers/SharedWorkerThread.h b/third_party/WebKit/Source/core/workers/SharedWorkerThread.h
index 22f68cd611b9b2f148e9729ebc04d7738485a08f..6158a6e1c1b279c9eadb31b8addf955da0de5007 100644
--- a/third_party/WebKit/Source/core/workers/SharedWorkerThread.h
+++ b/third_party/WebKit/Source/core/workers/SharedWorkerThread.h
@@ -41,10 +41,9 @@ class WorkerThreadStartupData;
class CORE_EXPORT SharedWorkerThread : public WorkerThread {
public:
- static std::unique_ptr<SharedWorkerThread> Create(
- const String& name,
- PassRefPtr<WorkerLoaderProxy>,
- WorkerReportingProxy&);
+ SharedWorkerThread(const String& name,
+ ThreadableLoadingContext*,
+ WorkerReportingProxy&);
~SharedWorkerThread() override;
WorkerBackingThread& GetWorkerBackingThread() override {
@@ -57,10 +56,6 @@ class CORE_EXPORT SharedWorkerThread : public WorkerThread {
std::unique_ptr<WorkerThreadStartupData>) override;
private:
- SharedWorkerThread(const String& name,
- PassRefPtr<WorkerLoaderProxy>,
- WorkerReportingProxy&);
-
std::unique_ptr<WorkerBackingThread> worker_backing_thread_;
String name_;
};

Powered by Google App Engine
This is Rietveld 408576698