Index: net/proxy/proxy_script_fetcher_impl_unittest.cc |
diff --git a/net/proxy/proxy_script_fetcher_impl_unittest.cc b/net/proxy/proxy_script_fetcher_impl_unittest.cc |
index 9154798ad73795aec10591d8dd339240a4cc4cea..c0b7398f1a420f9c7fd3fa442162ae85d548715f 100644 |
--- a/net/proxy/proxy_script_fetcher_impl_unittest.cc |
+++ b/net/proxy/proxy_script_fetcher_impl_unittest.cc |
@@ -86,7 +86,8 @@ class RequestContext : public URLRequestContext { |
new HttpCache(storage_.http_network_session(), |
HttpCache::DefaultBackend::InMemory(0), false))); |
std::unique_ptr<URLRequestJobFactoryImpl> job_factory = |
- base::WrapUnique(new URLRequestJobFactoryImpl()); |
+ URLRequestJobFactoryImpl::CreateWithDefaultProtocolHandlers(); |
+ |
#if !defined(DISABLE_FILE_SUPPORT) |
job_factory->SetProtocolHandler("file", |
base::WrapUnique(new FileProtocolHandler( |