Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(96)

Unified Diff: third_party/WebKit/Source/web/WebSharedWorkerImpl.cpp

Issue 1865813002: Remove RawPtr from Source/web/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebased Created 4 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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 286f930354a06d5717b78d15910f8ecb1c3a9b40..dae6f540fd72ac44f7968b35e5958ccfe675bbad 100644
--- a/third_party/WebKit/Source/web/WebSharedWorkerImpl.cpp
+++ b/third_party/WebKit/Source/web/WebSharedWorkerImpl.cpp
@@ -217,7 +217,7 @@ void WebSharedWorkerImpl::reportException(const String& errorMessage, int lineNu
// Not suppported in SharedWorker.
}
-void WebSharedWorkerImpl::reportConsoleMessage(RawPtr<ConsoleMessage>)
+void WebSharedWorkerImpl::reportConsoleMessage(ConsoleMessage*)
{
// Not supported in SharedWorker.
}
@@ -323,11 +323,11 @@ void WebSharedWorkerImpl::onScriptLoaderFinished()
// FIXME: this document's origin is pristine and without any extra privileges. (crbug.com/254993)
SecurityOrigin* starterOrigin = document->getSecurityOrigin();
- RawPtr<WorkerClients> workerClients = WorkerClients::create();
- provideLocalFileSystemToWorker(workerClients.get(), LocalFileSystemClient::create());
+ WorkerClients* workerClients = WorkerClients::create();
+ provideLocalFileSystemToWorker(workerClients, LocalFileSystemClient::create());
WebSecurityOrigin webSecurityOrigin(m_loadingDocument->getSecurityOrigin());
- provideContentSettingsClientToWorker(workerClients.get(), adoptPtr(m_client->createWorkerContentSettingsClientProxy(webSecurityOrigin)));
- RawPtr<ContentSecurityPolicy> contentSecurityPolicy = m_mainScriptLoader->releaseContentSecurityPolicy();
+ provideContentSettingsClientToWorker(workerClients, adoptPtr(m_client->createWorkerContentSettingsClientProxy(webSecurityOrigin)));
+ ContentSecurityPolicy* contentSecurityPolicy = m_mainScriptLoader->releaseContentSecurityPolicy();
WorkerThreadStartMode startMode = m_workerInspectorProxy->workerStartMode(document);
OwnPtr<WorkerThreadStartupData> startupData = WorkerThreadStartupData::create(
m_url,
@@ -337,7 +337,7 @@ void WebSharedWorkerImpl::onScriptLoaderFinished()
startMode,
contentSecurityPolicy ? contentSecurityPolicy->headers() : nullptr,
starterOrigin,
- workerClients.release(),
+ workerClients,
m_mainScriptLoader->responseAddressSpace());
m_loaderProxy = WorkerLoaderProxy::create(this);
m_workerThread = SharedWorkerThread::create(m_name, m_loaderProxy, *this);
« no previous file with comments | « third_party/WebKit/Source/web/WebSharedWorkerImpl.h ('k') | third_party/WebKit/Source/web/WebSurroundingText.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698