Index: components/cronet/android/url_request_context_adapter.cc |
diff --git a/components/cronet/android/url_request_context_adapter.cc b/components/cronet/android/url_request_context_adapter.cc |
index 9f437b49a8eeb0d716ae1a7ad528aded8e0c0776..69e10860c67c874897a0d5a640b57a171553d669 100644 |
--- a/components/cronet/android/url_request_context_adapter.cc |
+++ b/components/cronet/android/url_request_context_adapter.cc |
@@ -153,7 +153,7 @@ void URLRequestContextAdapter::InitRequestContextOnNetworkThread() { |
net::URLRequestContextBuilder context_builder; |
context_builder.set_network_delegate( |
- base::WrapUnique(new BasicNetworkDelegate())); |
+ base::MakeUnique<BasicNetworkDelegate>()); |
context_builder.set_proxy_config_service(std::move(proxy_config_service_)); |
config_->ConfigureURLRequestContextBuilder(&context_builder, |
g_net_log.Pointer(), nullptr); |