Index: remoting/test/test_chromoting_client.cc |
diff --git a/remoting/test/test_chromoting_client.cc b/remoting/test/test_chromoting_client.cc |
index 78ce8116204a950648762949d60646eb52443e31..4e5eb3245361f489eb85f12f4be3568aa87125d8 100644 |
--- a/remoting/test/test_chromoting_client.cc |
+++ b/remoting/test/test_chromoting_client.cc |
@@ -122,9 +122,8 @@ void TestChromotingClient::StartConnection( |
scoped_refptr<protocol::TransportContext> transport_context( |
new protocol::TransportContext( |
signal_strategy_.get(), |
- base::WrapUnique(new protocol::ChromiumPortAllocatorFactory()), |
- base::WrapUnique( |
- new ChromiumUrlRequestFactory(request_context_getter)), |
+ base::MakeUnique<protocol::ChromiumPortAllocatorFactory>(), |
+ base::MakeUnique<ChromiumUrlRequestFactory>(request_context_getter), |
network_settings, protocol::TransportRole::CLIENT)); |
protocol::ClientAuthenticationConfig client_auth_config; |