| Index: remoting/protocol/monitored_video_stub_unittest.cc
|
| diff --git a/remoting/protocol/monitored_video_stub_unittest.cc b/remoting/protocol/monitored_video_stub_unittest.cc
|
| index 58db106521fa677f8560b71d92042ecf888ba6ff..300552b9f73f03d306d3989ee986e1aae781b80e 100644
|
| --- a/remoting/protocol/monitored_video_stub_unittest.cc
|
| +++ b/remoting/protocol/monitored_video_stub_unittest.cc
|
| @@ -50,13 +50,13 @@ TEST_F(MonitoredVideoStubTest, OnChannelConnected) {
|
| // finishes, so we expect to see at most one transition to not ready.
|
| EXPECT_CALL(*this, OnVideoChannelStatus(false)).Times(AtMost(1));
|
|
|
| - monitor_->ProcessVideoPacket(packet_.Pass(), base::Closure());
|
| + monitor_->ProcessVideoPacket(std::move(packet_), base::Closure());
|
| base::RunLoop().RunUntilIdle();
|
| }
|
|
|
| TEST_F(MonitoredVideoStubTest, OnChannelDisconnected) {
|
| EXPECT_CALL(*this, OnVideoChannelStatus(true));
|
| - monitor_->ProcessVideoPacket(packet_.Pass(), base::Closure());
|
| + monitor_->ProcessVideoPacket(std::move(packet_), base::Closure());
|
|
|
| EXPECT_CALL(*this, OnVideoChannelStatus(false))
|
| .WillOnce(
|
| @@ -72,8 +72,8 @@ TEST_F(MonitoredVideoStubTest, OnChannelStayConnected) {
|
| // finishes, so we expect to see at most one transition to not ready.
|
| EXPECT_CALL(*this, OnVideoChannelStatus(false)).Times(AtMost(1));
|
|
|
| - monitor_->ProcessVideoPacket(packet_.Pass(), base::Closure());
|
| - monitor_->ProcessVideoPacket(packet_.Pass(), base::Closure());
|
| + monitor_->ProcessVideoPacket(std::move(packet_), base::Closure());
|
| + monitor_->ProcessVideoPacket(std::move(packet_), base::Closure());
|
| base::RunLoop().RunUntilIdle();
|
| }
|
|
|
| @@ -82,7 +82,7 @@ TEST_F(MonitoredVideoStubTest, OnChannelStayDisconnected) {
|
| EXPECT_CALL(*this, OnVideoChannelStatus(true)).Times(1);
|
| EXPECT_CALL(*this, OnVideoChannelStatus(false)).Times(1);
|
|
|
| - monitor_->ProcessVideoPacket(packet_.Pass(), base::Closure());
|
| + monitor_->ProcessVideoPacket(std::move(packet_), base::Closure());
|
|
|
| message_loop_.PostDelayedTask(
|
| FROM_HERE, base::MessageLoop::QuitWhenIdleClosure(),
|
|
|