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