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

Unified Diff: remoting/protocol/monitored_video_stub.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/monitored_video_stub.cc
diff --git a/remoting/protocol/monitored_video_stub.cc b/remoting/protocol/monitored_video_stub.cc
index 245c2ae013474091484e1671141a1949e39334b5..6449deb02e36223989ff733a13e13a43a8c01302 100644
--- a/remoting/protocol/monitored_video_stub.cc
+++ b/remoting/protocol/monitored_video_stub.cc
@@ -35,7 +35,7 @@ void MonitoredVideoStub::ProcessVideoPacket(scoped_ptr<VideoPacket> packet,
NotifyChannelState(true);
- video_stub_->ProcessVideoPacket(packet.Pass(), done);
+ video_stub_->ProcessVideoPacket(std::move(packet), done);
}
void MonitoredVideoStub::OnConnectivityCheckTimeout() {

Powered by Google App Engine
This is Rietveld 408576698