| Index: chrome/browser/io_thread.cc
|
| diff --git a/chrome/browser/io_thread.cc b/chrome/browser/io_thread.cc
|
| index c5c7ce179e4447693d969cfb3aae67c7f6c456b1..d344e8001b0e7976b008d0db6ff049ef46d96a44 100644
|
| --- a/chrome/browser/io_thread.cc
|
| +++ b/chrome/browser/io_thread.cc
|
| @@ -869,8 +869,8 @@ net::URLRequestContext* IOThread::ConstructSystemRequestContext(
|
| globals->http_auth_handler_factory.get());
|
| context->set_proxy_service(globals->system_proxy_service.get());
|
|
|
| - globals->system_url_request_job_factory.reset(
|
| - new net::URLRequestJobFactoryImpl());
|
| + globals->system_url_request_job_factory =
|
| + net::URLRequestJobFactoryImpl::CreateWithHttpProtocolHandlers();
|
| context->set_job_factory(globals->system_url_request_job_factory.get());
|
|
|
| context->set_cookie_store(globals->system_cookie_store.get());
|
| @@ -1050,8 +1050,8 @@ net::URLRequestContext* IOThread::ConstructProxyScriptFetcherContext(
|
| context->set_http_transaction_factory(
|
| globals->proxy_script_fetcher_http_transaction_factory.get());
|
|
|
| - std::unique_ptr<net::URLRequestJobFactoryImpl> job_factory(
|
| - new net::URLRequestJobFactoryImpl());
|
| + std::unique_ptr<net::URLRequestJobFactoryImpl> job_factory =
|
| + net::URLRequestJobFactoryImpl::CreateWithHttpProtocolHandlers();
|
|
|
| job_factory->SetProtocolHandler(url::kDataScheme,
|
| base::MakeUnique<net::DataProtocolHandler>());
|
|
|