diff options
author | sergeyu <sergeyu@chromium.org> | 2014-09-30 19:36:43 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2014-10-01 02:37:06 +0000 |
commit | 2d69088aaa9c1ce161c0faee988c54a7dfc797cc (patch) | |
tree | 26b10313dd8667c64d77e7d275f76b2bebf7d88c /remoting/test/fake_port_allocator.cc | |
parent | 6561311f4cb8275fc8dd85592840bb4a8e6ee6d3 (diff) | |
download | chromium_src-2d69088aaa9c1ce161c0faee988c54a7dfc797cc.zip chromium_src-2d69088aaa9c1ce161c0faee988c54a7dfc797cc.tar.gz chromium_src-2d69088aaa9c1ce161c0faee988c54a7dfc797cc.tar.bz2 |
Use make_scoped_ptr() in src/remoting.
Also minor code cleanup in daemon_installer_win.cc .
Review URL: https://codereview.chromium.org/608343002
Cr-Commit-Position: refs/heads/master@{#297583}
Diffstat (limited to 'remoting/test/fake_port_allocator.cc')
-rw-r--r-- | remoting/test/fake_port_allocator.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/remoting/test/fake_port_allocator.cc b/remoting/test/fake_port_allocator.cc index 64eb08f..0a96f1e 100644 --- a/remoting/test/fake_port_allocator.cc +++ b/remoting/test/fake_port_allocator.cc @@ -95,7 +95,7 @@ scoped_ptr<FakePortAllocator> FakePortAllocator::Create( scoped_ptr<rtc::NetworkManager> network_manager( new FakeNetworkManager(socket_factory->GetAddress())); - return scoped_ptr<FakePortAllocator>( + return make_scoped_ptr( new FakePortAllocator(network_manager.Pass(), socket_factory.Pass())); } |