summaryrefslogtreecommitdiffstats
path: root/content/shell/browser/shell_url_request_context_getter.cc
diff options
context:
space:
mode:
Diffstat (limited to 'content/shell/browser/shell_url_request_context_getter.cc')
-rw-r--r--content/shell/browser/shell_url_request_context_getter.cc5
1 files changed, 4 insertions, 1 deletions
diff --git a/content/shell/browser/shell_url_request_context_getter.cc b/content/shell/browser/shell_url_request_context_getter.cc
index 6554e05..bbea904 100644
--- a/content/shell/browser/shell_url_request_context_getter.cc
+++ b/content/shell/browser/shell_url_request_context_getter.cc
@@ -199,8 +199,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)));
net::HttpCache* main_cache = new net::HttpCache(
- network_session_params, main_backend);
+ storage_->http_network_session(), main_backend,
+ true /* set_up_quic_server_info */);
storage_->set_http_transaction_factory(main_cache);
scoped_ptr<net::URLRequestJobFactoryImpl> job_factory(