| Index: remoting/host/chromoting_host_unittest.cc
|
| diff --git a/remoting/host/chromoting_host_unittest.cc b/remoting/host/chromoting_host_unittest.cc
|
| index 2177dca8ddad6dffa0f5a2c86f7b81810473d0b0..86eee3205d758e7eef674a431fdd4cf91f6c4450 100644
|
| --- a/remoting/host/chromoting_host_unittest.cc
|
| +++ b/remoting/host/chromoting_host_unittest.cc
|
| @@ -182,8 +182,8 @@ class ChromotingHostTest : public testing::Test {
|
| void SimulateClientConnection(int connection_index, bool authenticate,
|
| bool reject) {
|
| scoped_ptr<protocol::ConnectionToClient> connection =
|
| - ((connection_index == 0) ? owned_connection1_ : owned_connection2_).
|
| - PassAs<protocol::ConnectionToClient>();
|
| + ((connection_index == 0) ? owned_connection1_ : owned_connection2_)
|
| + .Pass();
|
| protocol::ConnectionToClient* connection_ptr = connection.get();
|
| scoped_ptr<ClientSession> client(new ClientSession(
|
| host_.get(),
|
|
|