Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(971)

Unified Diff: remoting/protocol/webrtc_transport.cc

Issue 1946553002: WebRTC's scoped_ptr and scoped_ptr.h are going away, so stop using them (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « remoting/protocol/fake_desktop_capturer.cc ('k') | third_party/libjingle/libjingle_nacl.gyp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/protocol/webrtc_transport.cc
diff --git a/remoting/protocol/webrtc_transport.cc b/remoting/protocol/webrtc_transport.cc
index 08c366d7368af202f4ca92ecf6be08433085e2c2..f00e50cb1972394e51c32a476aebc8c6662dbc49 100644
--- a/remoting/protocol/webrtc_transport.cc
+++ b/remoting/protocol/webrtc_transport.cc
@@ -196,9 +196,7 @@ void WebrtcTransport::Start(
transport_context_->port_allocator_factory()->CreatePortAllocator(
transport_context_);
peer_connection_ = peer_connection_factory_->CreatePeerConnection(
- rtc_config, &constraints,
- rtc::scoped_ptr<cricket::PortAllocator>(port_allocator.release()),
- nullptr, this);
+ rtc_config, &constraints, std::move(port_allocator), nullptr, this);
outgoing_data_stream_adapter_.Initialize(peer_connection_);
incoming_data_stream_adapter_.Initialize(peer_connection_);
« no previous file with comments | « remoting/protocol/fake_desktop_capturer.cc ('k') | third_party/libjingle/libjingle_nacl.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698