Index: Source/modules/serviceworkers/ServiceWorkerThread.cpp |
diff --git a/Source/modules/serviceworkers/ServiceWorkerThread.cpp b/Source/modules/serviceworkers/ServiceWorkerThread.cpp |
index 72d86290707f45dd22a87304a259c3ccf98d39f4..14d8d9114be68145a20e69b547af29c781e36b07 100644 |
--- a/Source/modules/serviceworkers/ServiceWorkerThread.cpp |
+++ b/Source/modules/serviceworkers/ServiceWorkerThread.cpp |
@@ -37,12 +37,12 @@ |
namespace WebCore { |
-PassRefPtr<ServiceWorkerThread> ServiceWorkerThread::create(WorkerLoaderProxy& workerLoaderProxy, WorkerReportingProxy& workerReportingProxy, PassOwnPtr<WorkerThreadStartupData> startupData) |
+PassRefPtrWillBeRawPtr<ServiceWorkerThread> ServiceWorkerThread::create(WorkerLoaderProxy& workerLoaderProxy, WorkerReportingProxy& workerReportingProxy, PassOwnPtrWillBeRawPtr<WorkerThreadStartupData> startupData) |
{ |
- return adoptRef(new ServiceWorkerThread(workerLoaderProxy, workerReportingProxy, startupData)); |
+ return adoptRefWillBeNoop(new ServiceWorkerThread(workerLoaderProxy, workerReportingProxy, startupData)); |
} |
-ServiceWorkerThread::ServiceWorkerThread(WorkerLoaderProxy& workerLoaderProxy, WorkerReportingProxy& workerReportingProxy, PassOwnPtr<WorkerThreadStartupData> startupData) |
+ServiceWorkerThread::ServiceWorkerThread(WorkerLoaderProxy& workerLoaderProxy, WorkerReportingProxy& workerReportingProxy, PassOwnPtrWillBeRawPtr<WorkerThreadStartupData> startupData) |
: WorkerThread(workerLoaderProxy, workerReportingProxy, startupData) |
{ |
} |
@@ -51,7 +51,7 @@ ServiceWorkerThread::~ServiceWorkerThread() |
{ |
} |
-PassRefPtr<WorkerGlobalScope> ServiceWorkerThread::createWorkerGlobalScope(PassOwnPtr<WorkerThreadStartupData> startupData) |
+PassRefPtrWillBeRawPtr<WorkerGlobalScope> ServiceWorkerThread::createWorkerGlobalScope(PassOwnPtrWillBeRawPtr<WorkerThreadStartupData> startupData) |
{ |
return ServiceWorkerGlobalScope::create(this, startupData); |
} |