| 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 45ecd188b67663876d9dbc8de448c5adeca1dcb3..0344fbc40e2d10223ebc84ec20e51940fc115a2f 100644
|
| --- a/third_party/WebKit/Source/web/WebSharedWorkerImpl.cpp
|
| +++ b/third_party/WebKit/Source/web/WebSharedWorkerImpl.cpp
|
| @@ -326,11 +326,11 @@ void WebSharedWorkerImpl::onScriptLoaderFinished()
|
|
|
| Document* document = m_mainFrame->frame()->document();
|
| // FIXME: this document's origin is pristine and without any extra privileges. (crbug.com/254993)
|
| - SecurityOrigin* starterOrigin = document->securityOrigin();
|
| + SecurityOrigin* starterOrigin = document->getSecurityOrigin();
|
|
|
| OwnPtrWillBeRawPtr<WorkerClients> workerClients = WorkerClients::create();
|
| provideLocalFileSystemToWorker(workerClients.get(), LocalFileSystemClient::create());
|
| - WebSecurityOrigin webSecurityOrigin(m_loadingDocument->securityOrigin());
|
| + WebSecurityOrigin webSecurityOrigin(m_loadingDocument->getSecurityOrigin());
|
| provideContentSettingsClientToWorker(workerClients.get(), adoptPtr(m_client->createWorkerContentSettingsClientProxy(webSecurityOrigin)));
|
| RefPtrWillBeRawPtr<ContentSecurityPolicy> contentSecurityPolicy = m_mainScriptLoader->releaseContentSecurityPolicy();
|
| WorkerThreadStartMode startMode = m_workerInspectorProxy->workerStartMode(document);
|
|
|