| Index: ios/web/shell/shell_url_request_context_getter.cc
|
| diff --git a/ios/web/shell/shell_url_request_context_getter.cc b/ios/web/shell/shell_url_request_context_getter.cc
|
| index 5d8c660357c7d642b569e7dd97d21db546507846..f0b4185a135e07d8d70071505c5025bc174e63fc 100644
|
| --- a/ios/web/shell/shell_url_request_context_getter.cc
|
| +++ b/ios/web/shell/shell_url_request_context_getter.cc
|
| @@ -135,8 +135,10 @@ net::URLRequestContext* ShellURLRequestContextGetter::GetURLRequestContext() {
|
| net::CACHE_BACKEND_DEFAULT,
|
| cache_path, 0, cache_task_runner_);
|
|
|
| - net::HttpCache* main_cache =
|
| - new net::HttpCache(network_session_params, main_backend);
|
| + storage_->set_http_network_session(
|
| + make_scoped_ptr(new net::HttpNetworkSession(network_session_params)));
|
| + net::HttpCache* main_cache = new net::HttpCache(
|
| + storage_->http_network_session(), main_backend, true);
|
| storage_->set_http_transaction_factory(main_cache);
|
|
|
| scoped_ptr<net::URLRequestJobFactoryImpl> job_factory(
|
|
|