| 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 75c257ac0818bce86e733b8a02a73b8c8f06295d..7a0dd9c94c0ca5c84eaa93f5e762d8a86b136573 100644
|
| --- a/content/browser/storage_partition_impl_map.cc
|
| +++ b/content/browser/storage_partition_impl_map.cc
|
| @@ -609,9 +609,10 @@ void StoragePartitionImplMap::PostCreateInitialization(
|
|
|
| BrowserThread::PostTask(
|
| BrowserThread::IO, FROM_HERE,
|
| - base::Bind(&ServiceWorkerContextWrapper::set_resource_context,
|
| + base::Bind(&ServiceWorkerContextWrapper::InitializeResourceContext,
|
| partition->GetServiceWorkerContext(),
|
| - browser_context_->GetResourceContext()));
|
| + browser_context_->GetResourceContext(),
|
| + make_scoped_refptr(partition->GetURLRequestContext())));
|
|
|
| // We do not call InitializeURLRequestContext() for media contexts because,
|
| // other than the HTTP cache, the media contexts share the same backing
|
|
|