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 8de48364a27338e1c72bc23a1524ffcc8e1a4631..2f862c0284333c4a05841c568009f1c2721a2b36 100644 |
--- a/ios/web/shell/shell_url_request_context_getter.cc |
+++ b/ios/web/shell/shell_url_request_context_getter.cc |
@@ -135,8 +135,11 @@ net::URLRequestContext* ShellURLRequestContextGetter::GetURLRequestContext() { |
net::CACHE_BACKEND_DEFAULT, |
cache_path, 0, cache_task_runner_); |
+ storage_->set_http_network_session( |
+ make_scoped_ptr(new net::HttpNetworkSession(network_session_params))); |
storage_->set_http_transaction_factory(make_scoped_ptr( |
- new net::HttpCache(network_session_params, main_backend))); |
+ new net::HttpCache(storage_->http_network_session(), main_backend, |
+ true /* set_up_quic_server_info */))); |
scoped_ptr<net::URLRequestJobFactoryImpl> job_factory( |
new net::URLRequestJobFactoryImpl()); |