Index: Source/core/workers/SharedWorkerThread.cpp |
diff --git a/Source/core/workers/SharedWorkerThread.cpp b/Source/core/workers/SharedWorkerThread.cpp |
index 117b5837585e93cebfd67393a1129ce443f5b0fa..8cb7fdc0c86c0da5927b1049c21e19c9f8441a5b 100644 |
--- a/Source/core/workers/SharedWorkerThread.cpp |
+++ b/Source/core/workers/SharedWorkerThread.cpp |
@@ -37,12 +37,12 @@ |
namespace WebCore { |
-PassRefPtr<SharedWorkerThread> SharedWorkerThread::create(const String& name, WorkerLoaderProxy& workerLoaderProxy, WorkerReportingProxy& workerReportingProxy, PassOwnPtr<WorkerThreadStartupData> startupData) |
+PassRefPtrWillBeRawPtr<SharedWorkerThread> SharedWorkerThread::create(const String& name, WorkerLoaderProxy& workerLoaderProxy, WorkerReportingProxy& workerReportingProxy, PassOwnPtrWillBeRawPtr<WorkerThreadStartupData> startupData) |
{ |
- return adoptRef(new SharedWorkerThread(name, workerLoaderProxy, workerReportingProxy, startupData)); |
+ return adoptRefWillBeNoop(new SharedWorkerThread(name, workerLoaderProxy, workerReportingProxy, startupData)); |
} |
-SharedWorkerThread::SharedWorkerThread(const String& name, WorkerLoaderProxy& workerLoaderProxy, WorkerReportingProxy& workerReportingProxy, PassOwnPtr<WorkerThreadStartupData> startupData) |
+SharedWorkerThread::SharedWorkerThread(const String& name, WorkerLoaderProxy& workerLoaderProxy, WorkerReportingProxy& workerReportingProxy, PassOwnPtrWillBeRawPtr<WorkerThreadStartupData> startupData) |
: WorkerThread(workerLoaderProxy, workerReportingProxy, startupData) |
, m_name(name.isolatedCopy()) |
{ |
@@ -52,7 +52,7 @@ SharedWorkerThread::~SharedWorkerThread() |
{ |
} |
-PassRefPtr<WorkerGlobalScope> SharedWorkerThread::createWorkerGlobalScope(PassOwnPtr<WorkerThreadStartupData> startupData) |
+PassRefPtrWillBeRawPtr<WorkerGlobalScope> SharedWorkerThread::createWorkerGlobalScope(PassOwnPtrWillBeRawPtr<WorkerThreadStartupData> startupData) |
{ |
return SharedWorkerGlobalScope::create(m_name, this, startupData); |
} |