| Index: remoting/test/fake_port_allocator.cc
|
| diff --git a/remoting/test/fake_port_allocator.cc b/remoting/test/fake_port_allocator.cc
|
| index 49db5530e0e66108bdfc4f361b6fe14011e1486a..b0a26de5ff184216428ac4006ee69e9e06879ad7 100644
|
| --- a/remoting/test/fake_port_allocator.cc
|
| +++ b/remoting/test/fake_port_allocator.cc
|
| @@ -5,6 +5,7 @@
|
| #include "remoting/test/fake_port_allocator.h"
|
|
|
| #include "base/macros.h"
|
| +#include "base/memory/ptr_util.h"
|
| #include "remoting/protocol/transport_context.h"
|
| #include "remoting/test/fake_network_dispatcher.h"
|
| #include "remoting/test/fake_network_manager.h"
|
| @@ -77,10 +78,10 @@ FakePortAllocatorFactory::FakePortAllocatorFactory(
|
|
|
| FakePortAllocatorFactory::~FakePortAllocatorFactory() {}
|
|
|
| -scoped_ptr<cricket::PortAllocator>
|
| +std::unique_ptr<cricket::PortAllocator>
|
| FakePortAllocatorFactory::CreatePortAllocator(
|
| scoped_refptr<protocol::TransportContext> transport_context) {
|
| - return make_scoped_ptr(new FakePortAllocator(
|
| + return base::WrapUnique(new FakePortAllocator(
|
| network_manager_.get(), socket_factory_.get(), transport_context));
|
| }
|
|
|
|
|