| Index: components/data_reduction_proxy/core/browser/data_reduction_proxy_test_utils.cc
|
| diff --git a/components/data_reduction_proxy/core/browser/data_reduction_proxy_test_utils.cc b/components/data_reduction_proxy/core/browser/data_reduction_proxy_test_utils.cc
|
| index ae6e0fd8ed5e0e8c97f8c72ebfd6da03b06f8e76..64c225af2599df02e181c049748adbc19c7a8c8a 100644
|
| --- a/components/data_reduction_proxy/core/browser/data_reduction_proxy_test_utils.cc
|
| +++ b/components/data_reduction_proxy/core/browser/data_reduction_proxy_test_utils.cc
|
| @@ -601,11 +601,12 @@ void DataReductionProxyTestContext::AttachToURLRequestContext(
|
| io_data()->CreateNetworkDelegate(
|
| base::MakeUnique<net::TestNetworkDelegate>(), true));
|
|
|
| + std::unique_ptr<net::URLRequestJobFactory> job_factory_impl =
|
| + net::URLRequestJobFactoryImpl::CreateWithHttpProtocolHandlers();
|
| +
|
| request_context_storage->set_job_factory(
|
| base::MakeUnique<net::URLRequestInterceptingJobFactory>(
|
| - std::unique_ptr<net::URLRequestJobFactory>(
|
| - new net::URLRequestJobFactoryImpl()),
|
| - io_data()->CreateInterceptor()));
|
| + std::move(job_factory_impl), io_data()->CreateInterceptor()));
|
| }
|
|
|
| void DataReductionProxyTestContext::
|
|
|