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

Unified Diff: remoting/protocol/capture_scheduler_unittest.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/capture_scheduler_unittest.cc
diff --git a/remoting/protocol/capture_scheduler_unittest.cc b/remoting/protocol/capture_scheduler_unittest.cc
index a6dcc875af1a43ac10c8253136108f51ed53cd36..86f901b5ad84fe5118cd1ddfbe98a7f010d711a6 100644
--- a/remoting/protocol/capture_scheduler_unittest.cc
+++ b/remoting/protocol/capture_scheduler_unittest.cc
@@ -58,7 +58,7 @@ class CaptureSchedulerTest : public testing::Test {
scoped_ptr<VideoAck> ack(new VideoAck());
ack->set_frame_id(packet.frame_id());
- scheduler_->ProcessVideoAck(ack.Pass());
+ scheduler_->ProcessVideoAck(std::move(ack));
EXPECT_TRUE(capture_timer_->IsRunning());
EXPECT_EQ(std::max(base::TimeDelta(),

Powered by Google App Engine
This is Rietveld 408576698