Index: remoting/protocol/video_frame_pump_unittest.cc |
diff --git a/remoting/protocol/video_frame_pump_unittest.cc b/remoting/protocol/video_frame_pump_unittest.cc |
index 01aedb39165c86b25a6b10140eef4546a1ee1a4d..b503e3c7cb033a4bd2a58ad656a73d6ca3bebe93 100644 |
--- a/remoting/protocol/video_frame_pump_unittest.cc |
+++ b/remoting/protocol/video_frame_pump_unittest.cc |
@@ -175,8 +175,8 @@ TEST_F(VideoFramePumpTest, StartAndStop) { |
.RetiresOnSaturation(); |
// Start video frame capture. |
- pump_.reset(new VideoFramePump(encode_task_runner_, capturer.Pass(), |
- encoder.Pass(), &video_stub_)); |
+ pump_.reset(new VideoFramePump(encode_task_runner_, std::move(capturer), |
+ std::move(encoder), &video_stub_)); |
// Run MessageLoop until the first frame is received. |
run_loop.Run(); |
@@ -202,8 +202,8 @@ TEST_F(VideoFramePumpTest, NullFrame) { |
.RetiresOnSaturation(); |
// Start video frame capture. |
- pump_.reset(new VideoFramePump(encode_task_runner_, capturer.Pass(), |
- encoder.Pass(), &video_stub_)); |
+ pump_.reset(new VideoFramePump(encode_task_runner_, std::move(capturer), |
+ std::move(encoder), &video_stub_)); |
// Run MessageLoop until the first frame is received.. |
run_loop.Run(); |
@@ -230,8 +230,8 @@ TEST_F(VideoFramePumpTest, UnchangedFrame) { |
.RetiresOnSaturation(); |
// Start video frame capture. |
- pump_.reset(new VideoFramePump(encode_task_runner_, capturer.Pass(), |
- encoder.Pass(), &video_stub_)); |
+ pump_.reset(new VideoFramePump(encode_task_runner_, std::move(capturer), |
+ std::move(encoder), &video_stub_)); |
// Run MessageLoop until the first frame is received. |
run_loop.Run(); |