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 dae6f540fd72ac44f7968b35e5958ccfe675bbad..8d0d19c24a6b5f6934da01047a5fadc2478a7bac 100644 |
--- a/third_party/WebKit/Source/web/WebSharedWorkerImpl.cpp |
+++ b/third_party/WebKit/Source/web/WebSharedWorkerImpl.cpp |
@@ -67,6 +67,7 @@ |
#include "public/web/WebView.h" |
#include "public/web/WebWorkerContentSettingsClientProxy.h" |
#include "public/web/modules/serviceworker/WebServiceWorkerNetworkProvider.h" |
+#include "web/IndexedDBClientImpl.h" |
#include "web/LocalFileSystemClient.h" |
#include "web/WebDataSourceImpl.h" |
#include "web/WebLocalFrameImpl.h" |
@@ -327,6 +328,7 @@ void WebSharedWorkerImpl::onScriptLoaderFinished() |
provideLocalFileSystemToWorker(workerClients, LocalFileSystemClient::create()); |
WebSecurityOrigin webSecurityOrigin(m_loadingDocument->getSecurityOrigin()); |
provideContentSettingsClientToWorker(workerClients, adoptPtr(m_client->createWorkerContentSettingsClientProxy(webSecurityOrigin))); |
+ provideIndexedDBClientToWorker(workerClients, IndexedDBClientImpl::create()); |
ContentSecurityPolicy* contentSecurityPolicy = m_mainScriptLoader->releaseContentSecurityPolicy(); |
WorkerThreadStartMode startMode = m_workerInspectorProxy->workerStartMode(document); |
OwnPtr<WorkerThreadStartupData> startupData = WorkerThreadStartupData::create( |