| Index: remoting/protocol/connection_unittest.cc
|
| diff --git a/remoting/protocol/connection_unittest.cc b/remoting/protocol/connection_unittest.cc
|
| index e95abcce7056919860358a5ec0eb1ae733e8cd82..9e32163f34184a9dd29c2d406a70c311de5226e9 100644
|
| --- a/remoting/protocol/connection_unittest.cc
|
| +++ b/remoting/protocol/connection_unittest.cc
|
| @@ -107,7 +107,7 @@ class ConnectionTest : public testing::Test,
|
| OnConnectionState(ConnectionToHost::CONNECTED, OK));
|
| }
|
|
|
| - client_connection_->Connect(owned_client_session_.Pass(),
|
| + client_connection_->Connect(std::move(owned_client_session_),
|
| &client_event_handler_);
|
| client_session_->SimulateConnection(host_session_);
|
| base::RunLoop().RunUntilIdle();
|
| @@ -149,7 +149,7 @@ TEST_P(ConnectionTest, RejectConnection) {
|
| EXPECT_CALL(client_event_handler_,
|
| OnConnectionState(ConnectionToHost::CLOSED, OK));
|
|
|
| - client_connection_->Connect(owned_client_session_.Pass(),
|
| + client_connection_->Connect(std::move(owned_client_session_),
|
| &client_event_handler_);
|
| client_session_->event_handler()->OnSessionStateChange(Session::CLOSED);
|
| }
|
|
|