Index: Source/core/workers/DedicatedWorkerThread.cpp |
diff --git a/Source/core/workers/DedicatedWorkerThread.cpp b/Source/core/workers/DedicatedWorkerThread.cpp |
index 94038c677192fe617ca76781c3332a620c7a3d21..7c2ee0d322701c9db6314c506f773435a5c32f5a 100644 |
--- a/Source/core/workers/DedicatedWorkerThread.cpp |
+++ b/Source/core/workers/DedicatedWorkerThread.cpp |
@@ -38,12 +38,12 @@ |
namespace WebCore { |
-PassRefPtr<DedicatedWorkerThread> DedicatedWorkerThread::create(WorkerLoaderProxy& workerLoaderProxy, WorkerObjectProxy& workerObjectProxy, double timeOrigin, PassOwnPtr<WorkerThreadStartupData> startupData) |
+PassRefPtrWillBeRawPtr<DedicatedWorkerThread> DedicatedWorkerThread::create(WorkerLoaderProxy& workerLoaderProxy, WorkerObjectProxy& workerObjectProxy, double timeOrigin, PassOwnPtrWillBeRawPtr<WorkerThreadStartupData> startupData) |
{ |
- return adoptRef(new DedicatedWorkerThread(workerLoaderProxy, workerObjectProxy, timeOrigin, startupData)); |
+ return adoptRefWillBeNoop(new DedicatedWorkerThread(workerLoaderProxy, workerObjectProxy, timeOrigin, startupData)); |
} |
-DedicatedWorkerThread::DedicatedWorkerThread(WorkerLoaderProxy& workerLoaderProxy, WorkerObjectProxy& workerObjectProxy, double timeOrigin, PassOwnPtr<WorkerThreadStartupData> startupData) |
+DedicatedWorkerThread::DedicatedWorkerThread(WorkerLoaderProxy& workerLoaderProxy, WorkerObjectProxy& workerObjectProxy, double timeOrigin, PassOwnPtrWillBeRawPtr<WorkerThreadStartupData> startupData) |
: WorkerThread(workerLoaderProxy, workerObjectProxy, startupData) |
, m_workerObjectProxy(workerObjectProxy) |
, m_timeOrigin(timeOrigin) |
@@ -54,7 +54,7 @@ DedicatedWorkerThread::~DedicatedWorkerThread() |
{ |
} |
-PassRefPtr<WorkerGlobalScope> DedicatedWorkerThread::createWorkerGlobalScope(PassOwnPtr<WorkerThreadStartupData> startupData) |
+PassRefPtrWillBeRawPtr<WorkerGlobalScope> DedicatedWorkerThread::createWorkerGlobalScope(PassOwnPtrWillBeRawPtr<WorkerThreadStartupData> startupData) |
{ |
return DedicatedWorkerGlobalScope::create(this, startupData, m_timeOrigin); |
} |