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 c0286d07f38e956a81d5f8ebe37066e979da9e51..0945805249dcc3786a0b431258d0b392c9f291d7 100644 |
--- a/third_party/WebKit/Source/core/workers/SharedWorkerThread.h |
+++ b/third_party/WebKit/Source/core/workers/SharedWorkerThread.h |
@@ -33,7 +33,6 @@ |
#include "core/CoreExport.h" |
#include "core/frame/csp/ContentSecurityPolicy.h" |
#include "core/workers/WorkerThread.h" |
-#include <memory> |
namespace blink { |
@@ -41,18 +40,18 @@ class WorkerThreadStartupData; |
class CORE_EXPORT SharedWorkerThread : public WorkerThread { |
public: |
- static std::unique_ptr<SharedWorkerThread> create(const String& name, PassRefPtr<WorkerLoaderProxy>, WorkerReportingProxy&); |
+ static PassOwnPtr<SharedWorkerThread> create(const String& name, PassRefPtr<WorkerLoaderProxy>, WorkerReportingProxy&); |
~SharedWorkerThread() override; |
WorkerBackingThread& workerBackingThread() override { return *m_workerBackingThread; } |
protected: |
- WorkerGlobalScope* createWorkerGlobalScope(std::unique_ptr<WorkerThreadStartupData>) override; |
+ WorkerGlobalScope* createWorkerGlobalScope(PassOwnPtr<WorkerThreadStartupData>) override; |
private: |
SharedWorkerThread(const String& name, PassRefPtr<WorkerLoaderProxy>, WorkerReportingProxy&); |
- std::unique_ptr<WorkerBackingThread> m_workerBackingThread; |
+ OwnPtr<WorkerBackingThread> m_workerBackingThread; |
String m_name; |
}; |