Index: components/data_reduction_proxy/core/browser/data_reduction_proxy_bypass_protocol_unittest.cc |
diff --git a/components/data_reduction_proxy/core/browser/data_reduction_proxy_bypass_protocol_unittest.cc b/components/data_reduction_proxy/core/browser/data_reduction_proxy_bypass_protocol_unittest.cc |
index 03d183585af9d7df84ad341d0c6436e5e6801118..0beb2863b89f2cb61265438ef592c7dd8472b680 100644 |
--- a/components/data_reduction_proxy/core/browser/data_reduction_proxy_bypass_protocol_unittest.cc |
+++ b/components/data_reduction_proxy/core/browser/data_reduction_proxy_bypass_protocol_unittest.cc |
@@ -117,8 +117,8 @@ class DataReductionProxyProtocolTest : public testing::Test { |
new DataReductionProxyInterceptor( |
test_context_->config(), test_context_->io_data()->config_client(), |
bypass_stats_.get(), test_context_->event_creator()); |
- std::unique_ptr<net::URLRequestJobFactoryImpl> job_factory_impl( |
- new net::URLRequestJobFactoryImpl()); |
+ std::unique_ptr<net::URLRequestJobFactoryImpl> job_factory_impl = |
+ net::URLRequestJobFactoryImpl::CreateWithDefaultProtocolHandlers(); |
job_factory_.reset(new net::URLRequestInterceptingJobFactory( |
std::move(job_factory_impl), base::WrapUnique(interceptor))); |