Index: third_party/WebKit/Source/web/WebSharedWorkerImpl.cpp |
diff --git a/third_party/WebKit/Source/web/WebSharedWorkerImpl.cpp b/third_party/WebKit/Source/web/WebSharedWorkerImpl.cpp |
index dfc21de6f498c90ef51048b6a6e16ff80f800a86..47e1ed2dff6304748a02fadadb66196a4f644d33 100644 |
--- a/third_party/WebKit/Source/web/WebSharedWorkerImpl.cpp |
+++ b/third_party/WebKit/Source/web/WebSharedWorkerImpl.cpp |
@@ -353,7 +353,7 @@ void WebSharedWorkerImpl::startWorkerContext( |
void WebSharedWorkerImpl::didReceiveScriptLoaderResponse() { |
InspectorInstrumentation::didReceiveScriptResponse( |
- m_loadingDocument.get(), m_mainScriptLoader->identifier()); |
+ m_loadingDocument, m_mainScriptLoader->identifier()); |
m_client->selectAppCacheID(m_mainScriptLoader->appCacheID()); |
} |
@@ -415,14 +415,14 @@ void WebSharedWorkerImpl::onScriptLoaderFinished() { |
m_loaderProxy = WorkerLoaderProxy::create(this); |
m_workerThread = SharedWorkerThread::create(m_name, m_loaderProxy, *this, |
m_parentFrameTaskRunners.get()); |
- InspectorInstrumentation::scriptImported(m_loadingDocument.get(), |
+ InspectorInstrumentation::scriptImported(m_loadingDocument, |
m_mainScriptLoader->identifier(), |
m_mainScriptLoader->script()); |
m_mainScriptLoader.clear(); |
workerThread()->start(std::move(startupData)); |
- m_workerInspectorProxy->workerThreadCreated( |
- toDocument(m_loadingDocument.get()), workerThread(), m_url); |
+ m_workerInspectorProxy->workerThreadCreated(toDocument(m_loadingDocument), |
+ workerThread(), m_url); |
m_client->workerScriptLoaded(); |
} |