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 4011cf309b69a1ef3193f46b621bfec954c6d173..f058e41192940e46ef4cd65a785f40c436728ab7 100644 |
--- a/chrome/browser/profiles/profile_impl_io_data.cc |
+++ b/chrome/browser/profiles/profile_impl_io_data.cc |
@@ -449,10 +449,8 @@ void ProfileImplIOData::InitializeInternal( |
lazy_params_->cache_max_size, |
BrowserThread::GetMessageLoopProxyForThread(BrowserThread::CACHE) |
.get()); |
- net::HttpNetworkSession::Params network_session_params; |
- PopulateNetworkSessionParams(profile_params, &network_session_params); |
- net::HttpCache* main_cache = new net::HttpCache( |
- network_session_params, main_backend); |
+ net::HttpCache* main_cache = CreateMainHttpFactory( |
+ profile_params, main_backend); |
main_cache->InitializeInfiniteCache(lazy_params_->infinite_cache_path); |
#if defined(OS_ANDROID) || defined(OS_IOS) |