Index: remoting/protocol/client_video_dispatcher.cc |
diff --git a/remoting/protocol/client_video_dispatcher.cc b/remoting/protocol/client_video_dispatcher.cc |
index a98bee327ebc384d75cabc5b60f5d19574fa2214..a3c46ab1ee68c1483554d144a786f621430c5404 100644 |
--- a/remoting/protocol/client_video_dispatcher.cc |
+++ b/remoting/protocol/client_video_dispatcher.cc |
@@ -43,7 +43,8 @@ void ClientVideoDispatcher::ProcessVideoPacket( |
int frame_id = video_packet->frame_id(); |
if (!video_packet->has_frame_id()) { |
- video_stub_->ProcessVideoPacket(video_packet.Pass(), done_runner.Release()); |
+ video_stub_->ProcessVideoPacket(std::move(video_packet), |
+ done_runner.Release()); |
return; |
} |
@@ -51,7 +52,7 @@ void ClientVideoDispatcher::ProcessVideoPacket( |
pending_frames_.insert(pending_frames_.end(), PendingFrame(frame_id)); |
video_stub_->ProcessVideoPacket( |
- video_packet.Pass(), |
+ std::move(video_packet), |
base::Bind(&ClientVideoDispatcher::OnPacketDone, |
weak_factory_.GetWeakPtr(), pending_frame)); |
} |