| Index: chrome/browser/profiles/off_the_record_profile_io_data.cc
|
| diff --git a/chrome/browser/profiles/off_the_record_profile_io_data.cc b/chrome/browser/profiles/off_the_record_profile_io_data.cc
|
| index 1697d093b67d705b8326c76e6fa11ed3e8c289c0..dbfa89183b2745b7bc891d75c8aaca644604a854 100644
|
| --- a/chrome/browser/profiles/off_the_record_profile_io_data.cc
|
| +++ b/chrome/browser/profiles/off_the_record_profile_io_data.cc
|
| @@ -217,13 +217,9 @@ void OffTheRecordProfileIOData::InitializeInternal(
|
|
|
| net::HttpCache::BackendFactory* main_backend =
|
| net::HttpCache::DefaultBackend::InMemory(0);
|
| - net::HttpNetworkSession::Params network_session_params;
|
| - PopulateNetworkSessionParams(profile_params, &network_session_params);
|
| - net::HttpCache* cache = new net::HttpCache(
|
| - network_session_params, main_backend);
|
| + main_http_factory_ = CreateMainHttpFactory(profile_params, main_backend);
|
|
|
| - main_http_factory_.reset(cache);
|
| - main_context->set_http_transaction_factory(cache);
|
| + main_context->set_http_transaction_factory(main_http_factory_.get());
|
| #if !defined(DISABLE_FTP_SUPPORT)
|
| ftp_factory_.reset(
|
| new net::FtpNetworkLayer(main_context->host_resolver()));
|
|
|