Index: Source/core/workers/WorkerMessagingProxy.cpp |
diff --git a/Source/core/workers/WorkerMessagingProxy.cpp b/Source/core/workers/WorkerMessagingProxy.cpp |
index fac92b62b996dd98c7a34fd6ec248706808096a2..c0e43787a9b4ab17f76080e07c78b21716ba936f 100644 |
--- a/Source/core/workers/WorkerMessagingProxy.cpp |
+++ b/Source/core/workers/WorkerMessagingProxy.cpp |
@@ -111,10 +111,10 @@ void WorkerMessagingProxy::startWorkerGlobalScope(const KURL& scriptURL, const S |
ASSERT(m_executionContext->isDocument()); |
Document* document = toDocument(m_executionContext.get()); |
- OwnPtr<WorkerThreadStartupData> startupData = WorkerThreadStartupData::create(scriptURL, userAgent, sourceCode, startMode, document->contentSecurityPolicy()->deprecatedHeader(), document->contentSecurityPolicy()->deprecatedHeaderType(), m_workerClients.release()); |
+ OwnPtrWillBeRawPtr<WorkerThreadStartupData> startupData = WorkerThreadStartupData::create(scriptURL, userAgent, sourceCode, startMode, document->contentSecurityPolicy()->deprecatedHeader(), document->contentSecurityPolicy()->deprecatedHeaderType(), m_workerClients.release()); |
double originTime = document->loader() ? document->loader()->timing()->referenceMonotonicTime() : monotonicallyIncreasingTime(); |
- RefPtr<DedicatedWorkerThread> thread = DedicatedWorkerThread::create(*this, *m_workerObjectProxy.get(), originTime, startupData.release()); |
+ RefPtrWillBeRawPtr<DedicatedWorkerThread> thread = DedicatedWorkerThread::create(*this, *m_workerObjectProxy.get(), originTime, startupData.release()); |
workerThreadCreated(thread); |
thread->start(); |
InspectorInstrumentation::didStartWorkerGlobalScope(m_executionContext.get(), this, scriptURL); |
@@ -179,7 +179,7 @@ void WorkerMessagingProxy::reportConsoleMessage(MessageSource source, MessageLev |
m_executionContext->addConsoleMessage(source, level, message, sourceURL, lineNumber); |
} |
-void WorkerMessagingProxy::workerThreadCreated(PassRefPtr<DedicatedWorkerThread> workerThread) |
+void WorkerMessagingProxy::workerThreadCreated(PassRefPtrWillBeRawPtr<DedicatedWorkerThread> workerThread) |
{ |
m_workerThread = workerThread; |