| Index: chrome/browser/profiles/profile_impl_io_data.cc
|
| diff --git a/chrome/browser/profiles/profile_impl_io_data.cc b/chrome/browser/profiles/profile_impl_io_data.cc
|
| index 1ed4fe128bde126dcbc038e42c15a2baf159324e..2701c77e4b22621932b9a66c9ea67cbd105b9774 100644
|
| --- a/chrome/browser/profiles/profile_impl_io_data.cc
|
| +++ b/chrome/browser/profiles/profile_impl_io_data.cc
|
| @@ -757,9 +757,9 @@ net::URLRequestContext* ProfileImplIOData::InitializeMediaRequestContext(
|
| net::MEDIA_CACHE, ChooseCacheBackendType(), cache_path,
|
| cache_max_size,
|
| BrowserThread::GetTaskRunnerForThread(BrowserThread::CACHE)));
|
| - std::unique_ptr<net::HttpCache> media_http_cache =
|
| - CreateHttpFactory(main_request_context_storage()->http_network_session(),
|
| - std::move(media_backend));
|
| + std::unique_ptr<net::HttpCache> media_http_cache = CreateHttpFactory(
|
| + main_request_context()->http_transaction_factory(),
|
| + std::move(media_backend));
|
|
|
| // Transfer ownership of the cache to MediaRequestContext.
|
| context->SetHttpTransactionFactory(std::move(media_http_cache));
|
|
|