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 ec7207a010cd18df63109bd3cb78b4ee50debdbe..2859a2267a0c7c051dc4e2f9a8f7130e669901ea 100644 |
--- a/content/shell/browser/shell_url_request_context_getter.cc |
+++ b/content/shell/browser/shell_url_request_context_getter.cc |
@@ -220,8 +220,8 @@ net::URLRequestContext* ShellURLRequestContextGetter::GetURLRequestContext() { |
storage_->http_network_session(), std::move(main_backend), |
true /* set_up_quic_server_info */)); |
- std::unique_ptr<net::URLRequestJobFactoryImpl> job_factory( |
- new net::URLRequestJobFactoryImpl()); |
+ std::unique_ptr<net::URLRequestJobFactoryImpl> job_factory = |
+ net::URLRequestJobFactoryImpl::CreateWithHttpProtocolHandlers(); |
// Keep ProtocolHandlers added in sync with |
// ShellContentBrowserClient::IsHandledURL(). |
InstallProtocolHandlers(job_factory.get(), &protocol_handlers_); |