Index: content/browser/storage_partition_impl_map.cc |
diff --git a/content/browser/storage_partition_impl_map.cc b/content/browser/storage_partition_impl_map.cc |
index 1c5175de10c286795193f13518700a607c88ee70..3a67d724837c371d697e2a819d807649c09daeae 100644 |
--- a/content/browser/storage_partition_impl_map.cc |
+++ b/content/browser/storage_partition_impl_map.cc |
@@ -580,6 +580,15 @@ void StoragePartitionImplMap::PostCreateInitialization( |
make_scoped_refptr( |
browser_context_->GetSpecialStoragePolicy()))); |
+ BrowserThread::PostTask( |
+ BrowserThread::IO, |
+ FROM_HERE, |
+ base::Bind(&ServiceWorkerContextWrapper::SetBlobParametersForCache, |
+ partition->GetServiceWorkerContext(), |
+ make_scoped_refptr(partition->GetURLRequestContext()), |
+ make_scoped_refptr( |
+ ChromeBlobStorageContext::GetFor(browser_context_)))); |
+ |
// We do not call InitializeURLRequestContext() for media contexts because, |
// other than the HTTP cache, the media contexts share the same backing |
// objects as their associated "normal" request context. Thus, the previous |