| Index: third_party/WebKit/Source/modules/serviceworkers/ServiceWorkerThread.h
|
| diff --git a/third_party/WebKit/Source/modules/serviceworkers/ServiceWorkerThread.h b/third_party/WebKit/Source/modules/serviceworkers/ServiceWorkerThread.h
|
| index 0a178d4ac075a74c9c25b3d8a3e8a3332882fda1..7328fbfb9e52f59930cdb42a02e6c80f3631e4c4 100644
|
| --- a/third_party/WebKit/Source/modules/serviceworkers/ServiceWorkerThread.h
|
| +++ b/third_party/WebKit/Source/modules/serviceworkers/ServiceWorkerThread.h
|
| @@ -33,6 +33,7 @@
|
| #include "core/frame/csp/ContentSecurityPolicy.h"
|
| #include "core/workers/WorkerThread.h"
|
| #include "modules/ModulesExport.h"
|
| +#include <memory>
|
|
|
| namespace blink {
|
|
|
| @@ -40,17 +41,17 @@ class WorkerThreadStartupData;
|
|
|
| class MODULES_EXPORT ServiceWorkerThread final : public WorkerThread {
|
| public:
|
| - static PassOwnPtr<ServiceWorkerThread> create(PassRefPtr<WorkerLoaderProxy>, WorkerReportingProxy&);
|
| + static std::unique_ptr<ServiceWorkerThread> create(PassRefPtr<WorkerLoaderProxy>, WorkerReportingProxy&);
|
| ~ServiceWorkerThread() override;
|
|
|
| WorkerBackingThread& workerBackingThread() override { return *m_workerBackingThread; }
|
|
|
| protected:
|
| - WorkerGlobalScope* createWorkerGlobalScope(PassOwnPtr<WorkerThreadStartupData>) override;
|
| + WorkerGlobalScope* createWorkerGlobalScope(std::unique_ptr<WorkerThreadStartupData>) override;
|
|
|
| private:
|
| ServiceWorkerThread(PassRefPtr<WorkerLoaderProxy>, WorkerReportingProxy&);
|
| - OwnPtr<WorkerBackingThread> m_workerBackingThread;
|
| + std::unique_ptr<WorkerBackingThread> m_workerBackingThread;
|
| };
|
|
|
| } // namespace blink
|
|
|