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_; |
}; |