Index: content/renderer/service_worker/service_worker_cache_storage_dispatcher.h |
diff --git a/content/renderer/service_worker/service_worker_cache_storage_dispatcher.h b/content/renderer/service_worker/service_worker_cache_storage_dispatcher.h |
index ccc0cc7bc7f0a73bee6e414dd05327d7ef836b10..3c10205b832c9232e5e97fe76c3b9f2823121241 100644 |
--- a/content/renderer/service_worker/service_worker_cache_storage_dispatcher.h |
+++ b/content/renderer/service_worker/service_worker_cache_storage_dispatcher.h |
@@ -127,6 +127,7 @@ class ServiceWorkerCacheStorageDispatcher |
IDMapOwnPointer> WithResponsesCallbacksMap; |
typedef IDMap<blink::WebServiceWorkerCache::CacheWithRequestsCallbacks, |
IDMapOwnPointer> WithRequestsCallbacksMap; |
+ typedef IDMap<WebCache, IDMapExternalPointer> WebCacheMap; |
// Not owned. The script context containing this object. |
ServiceWorkerScriptContext* script_context_; |
@@ -138,7 +139,7 @@ class ServiceWorkerCacheStorageDispatcher |
KeysCallbacksMap keys_callbacks_; |
// The individual caches created under this CacheStorage object. |
- IDMap<WebCache, IDMapExternalPointer> web_caches_; |
+ WebCacheMap web_caches_; |
// These ID maps are held in the CacheStorage object rather than the Cache |
// object to ensure that the IDs are unique. |