Index: remoting/test/fake_port_allocator.cc |
diff --git a/remoting/test/fake_port_allocator.cc b/remoting/test/fake_port_allocator.cc |
index b0a26de5ff184216428ac4006ee69e9e06879ad7..0904b50fac11566a0e34dbd2c2246f77cced4398 100644 |
--- a/remoting/test/fake_port_allocator.cc |
+++ b/remoting/test/fake_port_allocator.cc |
@@ -81,8 +81,8 @@ FakePortAllocatorFactory::~FakePortAllocatorFactory() {} |
std::unique_ptr<cricket::PortAllocator> |
FakePortAllocatorFactory::CreatePortAllocator( |
scoped_refptr<protocol::TransportContext> transport_context) { |
- return base::WrapUnique(new FakePortAllocator( |
- network_manager_.get(), socket_factory_.get(), transport_context)); |
+ return base::MakeUnique<FakePortAllocator>( |
+ network_manager_.get(), socket_factory_.get(), transport_context); |
} |
} // namespace remoting |