Index: content/browser/cache_storage/cache_storage_dispatcher_host.cc |
diff --git a/content/browser/cache_storage/cache_storage_dispatcher_host.cc b/content/browser/cache_storage/cache_storage_dispatcher_host.cc |
index af73b7872768cbbf61278a4ad012b91fa92602ef..607fd9a93252163ceeb9e30ce97b4c6c56e43c33 100644 |
--- a/content/browser/cache_storage/cache_storage_dispatcher_host.cc |
+++ b/content/browser/cache_storage/cache_storage_dispatcher_host.cc |
@@ -283,8 +283,13 @@ void CacheStorageDispatcherHost::OnCacheKeys( |
} |
scoped_refptr<CacheStorageCache> cache = it->second; |
+ scoped_ptr<ServiceWorkerFetchRequest> scoped_request( |
+ new ServiceWorkerFetchRequest(request.url, request.method, |
+ request.headers, request.referrer, |
+ request.is_reload)); |
- cache->Keys(base::Bind(&CacheStorageDispatcherHost::OnCacheKeysCallback, this, |
+ cache->Keys(std::move(scoped_request), match_params, |
+ base::Bind(&CacheStorageDispatcherHost::OnCacheKeysCallback, this, |
thread_id, request_id, cache)); |
} |