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

Unified Diff: remoting/protocol/host_video_dispatcher.cc

Issue 1534193004: Use std::move() instead of scoped_ptr<>::Pass(). (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years 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
Index: remoting/protocol/host_video_dispatcher.cc
diff --git a/remoting/protocol/host_video_dispatcher.cc b/remoting/protocol/host_video_dispatcher.cc
index 4a752fbb74fa5300b5ec629044638f6ab4461344..c2068fedb12abe2e57fbc738e663f70e6d983d72 100644
--- a/remoting/protocol/host_video_dispatcher.cc
+++ b/remoting/protocol/host_video_dispatcher.cc
@@ -32,7 +32,7 @@ void HostVideoDispatcher::ProcessVideoPacket(scoped_ptr<VideoPacket> packet,
void HostVideoDispatcher::OnVideoAck(scoped_ptr<VideoAck> ack,
const base::Closure& done) {
if (video_feedback_stub_)
- video_feedback_stub_->ProcessVideoAck(ack.Pass());
+ video_feedback_stub_->ProcessVideoAck(std::move(ack));
done.Run();
}

Powered by Google App Engine
This is Rietveld 408576698