| Index: remoting/protocol/webrtc_transport.cc
|
| diff --git a/remoting/protocol/webrtc_transport.cc b/remoting/protocol/webrtc_transport.cc
|
| index e4fd5c8f0600a1107d06f03f278f5fe022ff531b..6c4fc1c3bd7ed80a952b7d50bf648a9d7875a3cc 100644
|
| --- a/remoting/protocol/webrtc_transport.cc
|
| +++ b/remoting/protocol/webrtc_transport.cc
|
| @@ -233,7 +233,7 @@ bool WebrtcTransport::ProcessTransportInfo(XmlElement* transport_info) {
|
| return false;
|
| }
|
| } else {
|
| - pending_incoming_candidates_.push_back(candidate.Pass());
|
| + pending_incoming_candidates_.push_back(std::move(candidate));
|
| }
|
| }
|
|
|
| @@ -284,7 +284,7 @@ void WebrtcTransport::OnLocalSessionDescriptionCreated(
|
| offer_tag->SetAttr(QName(std::string(), "type"), description->type());
|
| offer_tag->SetBodyText(description_sdp);
|
|
|
| - event_handler_->OnOutgoingTransportInfo(transport_info.Pass());
|
| + event_handler_->OnOutgoingTransportInfo(std::move(transport_info));
|
|
|
| peer_connection_->SetLocalDescription(
|
| SetSessionDescriptionObserver::Create(base::Bind(
|
| @@ -471,7 +471,7 @@ void WebrtcTransport::SendTransportInfo() {
|
| DCHECK(pending_transport_info_message_);
|
|
|
| event_handler_->OnOutgoingTransportInfo(
|
| - pending_transport_info_message_.Pass());
|
| + std::move(pending_transport_info_message_));
|
| pending_transport_info_message_.reset();
|
| }
|
|
|
|
|