Index: Source/web/WebSharedWorkerImpl.cpp |
diff --git a/Source/web/WebSharedWorkerImpl.cpp b/Source/web/WebSharedWorkerImpl.cpp |
index 7b8ea29ef22452d745ddc55ebb840da2fdc58ef8..240b9108441811afba92ebce1ad30672d2611fa7 100644 |
--- a/Source/web/WebSharedWorkerImpl.cpp |
+++ b/Source/web/WebSharedWorkerImpl.cpp |
@@ -49,7 +49,6 @@ |
#include "core/workers/WorkerInspectorProxy.h" |
#include "core/workers/WorkerScriptLoader.h" |
#include "core/workers/WorkerThreadStartupData.h" |
-#include "modules/webdatabase/DatabaseTask.h" |
#include "platform/RuntimeEnabledFeatures.h" |
#include "platform/heap/Handle.h" |
#include "platform/network/ContentSecurityPolicyParsers.h" |
@@ -66,7 +65,6 @@ |
#include "public/web/WebSettings.h" |
#include "public/web/WebView.h" |
#include "public/web/WebWorkerPermissionClientProxy.h" |
-#include "web/DatabaseClientImpl.h" |
#include "web/LocalFileSystemClient.h" |
#include "web/WebDataSourceImpl.h" |
#include "web/WebLocalFrameImpl.h" |
@@ -398,7 +396,6 @@ void WebSharedWorkerImpl::onScriptLoaderFinished() |
OwnPtrWillBeRawPtr<WorkerClients> workerClients = WorkerClients::create(); |
provideLocalFileSystemToWorker(workerClients.get(), LocalFileSystemClient::create()); |
- provideDatabaseClientToWorker(workerClients.get(), DatabaseClientImpl::create()); |
WebSecurityOrigin webSecurityOrigin(m_loadingDocument->securityOrigin()); |
providePermissionClientToWorker(workerClients.get(), adoptPtr(client()->createWorkerPermissionClientProxy(webSecurityOrigin))); |
OwnPtrWillBeRawPtr<WorkerThreadStartupData> startupData = WorkerThreadStartupData::create(m_url, m_loadingDocument->userAgent(m_url), m_mainScriptLoader->script(), startMode, m_contentSecurityPolicy, static_cast<ContentSecurityPolicyHeaderType>(m_policyType), workerClients.release()); |