| 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 56bf93d8df1197d2cb5a526ecdaee13455b56707..83360f39a83cd97187856d510c3322e4fd735a04 100644
|
| --- a/content/browser/storage_partition_impl_map.cc
|
| +++ b/content/browser/storage_partition_impl_map.cc
|
| @@ -459,14 +459,13 @@ StoragePartitionImpl* StoragePartitionImplMap::Get(
|
| // These calls must happen after StoragePartitionImpl::Create().
|
| if (partition_domain.empty()) {
|
| partition->SetURLRequestContext(
|
| - GetContentClient()->browser()->CreateRequestContext(
|
| - browser_context_, &protocol_handlers,
|
| - std::move(request_interceptors)));
|
| + browser_context_->CreateRequestContext(
|
| + &protocol_handlers, std::move(request_interceptors)));
|
| } else {
|
| partition->SetURLRequestContext(
|
| - GetContentClient()->browser()->CreateRequestContextForStoragePartition(
|
| - browser_context_, partition->GetPath(), in_memory,
|
| - &protocol_handlers, std::move(request_interceptors)));
|
| + browser_context_->CreateRequestContextForStoragePartition(
|
| + partition->GetPath(), in_memory, &protocol_handlers,
|
| + std::move(request_interceptors)));
|
| }
|
| partition->SetMediaURLRequestContext(
|
| partition_domain.empty() ?
|
|
|