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

Unified Diff: third_party/WebKit/Source/web/WorkerGlobalScopeProxyProviderImpl.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/WorkerGlobalScopeProxyProviderImpl.cpp
diff --git a/third_party/WebKit/Source/web/WorkerGlobalScopeProxyProviderImpl.cpp b/third_party/WebKit/Source/web/WorkerGlobalScopeProxyProviderImpl.cpp
index d9b34a25f8c27a08805c441b1d0c4fa708af4525..91d2e7f18b35be9fe421abc14efbb205c5032c11 100644
--- a/third_party/WebKit/Source/web/WorkerGlobalScopeProxyProviderImpl.cpp
+++ b/third_party/WebKit/Source/web/WorkerGlobalScopeProxyProviderImpl.cpp
@@ -50,12 +50,12 @@ WorkerGlobalScopeProxy* WorkerGlobalScopeProxyProviderImpl::createWorkerGlobalSc
if (worker->getExecutionContext()->isDocument()) {
Document* document = toDocument(worker->getExecutionContext());
WebLocalFrameImpl* webFrame = WebLocalFrameImpl::fromFrame(document->frame());
- RawPtr<WorkerClients> workerClients = WorkerClients::create();
- provideLocalFileSystemToWorker(workerClients.get(), LocalFileSystemClient::create());
- provideContentSettingsClientToWorker(workerClients.get(), adoptPtr(webFrame->client()->createWorkerContentSettingsClientProxy()));
+ WorkerClients* workerClients = WorkerClients::create();
+ provideLocalFileSystemToWorker(workerClients, LocalFileSystemClient::create());
+ provideContentSettingsClientToWorker(workerClients, adoptPtr(webFrame->client()->createWorkerContentSettingsClientProxy()));
// FIXME: call provideServiceWorkerContainerClientToWorker here when we
// support ServiceWorker in dedicated workers (http://crbug.com/371690)
- return new DedicatedWorkerMessagingProxy(worker, workerClients.release());
+ return new DedicatedWorkerMessagingProxy(worker, workerClients);
}
ASSERT_NOT_REACHED();
return 0;

Powered by Google App Engine
This is Rietveld 408576698