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 8808c3b108e2c4955b1ef123d9e5a436aded2cd3..75afa639de5150a48acda0d84882dad9f264ade4 100644 |
--- a/content/shell/browser/shell_url_request_context_getter.cc |
+++ b/content/shell/browser/shell_url_request_context_getter.cc |
@@ -209,8 +209,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::CreateWithDefaultProtocolHandlers(); |
// Keep ProtocolHandlers added in sync with |
// ShellContentBrowserClient::IsHandledURL(). |
InstallProtocolHandlers(job_factory.get(), &protocol_handlers_); |