| 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_);
|
|
|