Index: content/shell/browser/shell_url_request_context_getter.cc |
diff --git a/content/shell/browser/shell_url_request_context_getter.cc b/content/shell/browser/shell_url_request_context_getter.cc |
index 837eb820280c39786dfd704b2c78fa6c8a6de69c..354f9c691a9a27f46d28d3fae7d99f3731010175 100644 |
--- a/content/shell/browser/shell_url_request_context_getter.cc |
+++ b/content/shell/browser/shell_url_request_context_getter.cc |
@@ -201,8 +201,11 @@ net::URLRequestContext* ShellURLRequestContextGetter::GetURLRequestContext() { |
network_session_params.host_resolver = |
url_request_context_->host_resolver(); |
+ 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()); |