| Index: Source/web/WebSharedWorkerImpl.cpp
|
| diff --git a/Source/web/WebSharedWorkerImpl.cpp b/Source/web/WebSharedWorkerImpl.cpp
|
| index 94a9bda181936c1760a8e6ab6f3aa26db808763c..cb4f9541363b6228e3ac92d1da85012d862a64e0 100644
|
| --- a/Source/web/WebSharedWorkerImpl.cpp
|
| +++ b/Source/web/WebSharedWorkerImpl.cpp
|
| @@ -66,11 +66,11 @@
|
| #include "public/web/WebServiceWorkerNetworkProvider.h"
|
| #include "public/web/WebSettings.h"
|
| #include "public/web/WebView.h"
|
| -#include "public/web/WebWorkerContentSettingsClientProxy.h"
|
| +#include "public/web/WebWorkerPermissionClientProxy.h"
|
| #include "web/LocalFileSystemClient.h"
|
| #include "web/WebDataSourceImpl.h"
|
| #include "web/WebLocalFrameImpl.h"
|
| -#include "web/WorkerContentSettingsClient.h"
|
| +#include "web/WorkerPermissionClient.h"
|
| #include "wtf/Functional.h"
|
| #include "wtf/MainThread.h"
|
|
|
| @@ -415,7 +415,7 @@
|
| OwnPtrWillBeRawPtr<WorkerClients> workerClients = WorkerClients::create();
|
| provideLocalFileSystemToWorker(workerClients.get(), LocalFileSystemClient::create());
|
| WebSecurityOrigin webSecurityOrigin(m_loadingDocument->securityOrigin());
|
| - provideContentSettingsClientToWorker(workerClients.get(), adoptPtr(client()->createWorkerContentSettingsClientProxy(webSecurityOrigin)));
|
| + providePermissionClientToWorker(workerClients.get(), adoptPtr(client()->createWorkerPermissionClientProxy(webSecurityOrigin)));
|
| OwnPtrWillBeRawPtr<WorkerThreadStartupData> startupData = WorkerThreadStartupData::create(m_url, m_loadingDocument->userAgent(m_url), m_mainScriptLoader->script(), nullptr, startMode, m_contentSecurityPolicy, static_cast<ContentSecurityPolicyHeaderType>(m_policyType), starterOrigin, workerClients.release());
|
| m_loaderProxy = WorkerLoaderProxy::create(this);
|
| setWorkerThread(SharedWorkerThread::create(m_name, m_loaderProxy, *this, startupData.release()));
|
|
|