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