| Index: Source/modules/serviceworkers/ServiceWorkerGlobalScope.cpp
|
| diff --git a/Source/modules/serviceworkers/ServiceWorkerGlobalScope.cpp b/Source/modules/serviceworkers/ServiceWorkerGlobalScope.cpp
|
| index 29c044cb90b7a494db91995aad9055a689adddef..fff7d506ba11cd0fc1f93d864fdac45f748f1518 100644
|
| --- a/Source/modules/serviceworkers/ServiceWorkerGlobalScope.cpp
|
| +++ b/Source/modules/serviceworkers/ServiceWorkerGlobalScope.cpp
|
| @@ -44,7 +44,6 @@
|
| #include "core/workers/WorkerThreadStartupData.h"
|
| #include "modules/EventTargetModules.h"
|
| #include "modules/fetch/GlobalFetch.h"
|
| -#include "modules/serviceworkers/CacheStorage.h"
|
| #include "modules/serviceworkers/InspectorServiceWorkerCacheAgent.h"
|
| #include "modules/serviceworkers/ServiceWorkerClients.h"
|
| #include "modules/serviceworkers/ServiceWorkerGlobalScopeClient.h"
|
| @@ -117,16 +116,6 @@ void ServiceWorkerGlobalScope::didEvaluateWorkerScript()
|
| m_didEvaluateScript = true;
|
| }
|
|
|
| -CacheStorage* ServiceWorkerGlobalScope::caches(ExecutionContext* context)
|
| -{
|
| - if (!m_caches) {
|
| - String identifier = createDatabaseIdentifierFromSecurityOrigin(context->securityOrigin());
|
| - ASSERT(!identifier.isEmpty());
|
| - m_caches = CacheStorage::create(Platform::current()->cacheStorage(identifier));
|
| - }
|
| - return m_caches;
|
| -}
|
| -
|
| ScriptPromise ServiceWorkerGlobalScope::fetch(ScriptState* scriptState, const RequestInfo& input, const Dictionary& init, ExceptionState& exceptionState)
|
| {
|
| return GlobalFetch::fetch(scriptState, *this, input, init, exceptionState);
|
| @@ -217,7 +206,6 @@ DEFINE_TRACE(ServiceWorkerGlobalScope)
|
| {
|
| visitor->trace(m_clients);
|
| visitor->trace(m_registration);
|
| - visitor->trace(m_caches);
|
| WorkerGlobalScope::trace(visitor);
|
| }
|
|
|
|
|