| 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;
|
|
|