| Index: remoting/host/chromoting_host_unittest.cc
|
| diff --git a/remoting/host/chromoting_host_unittest.cc b/remoting/host/chromoting_host_unittest.cc
|
| index cf7aa2493e0328ff0c7113745f4fcf51b4744845..2ae2a05308973badc01c641ada9f1d60dc0f2fcd 100644
|
| --- a/remoting/host/chromoting_host_unittest.cc
|
| +++ b/remoting/host/chromoting_host_unittest.cc
|
| @@ -162,7 +162,8 @@ class ChromotingHostTest : public testing::Test {
|
| scoped_ptr<LocalInputMonitor>(local_input_monitor_));
|
|
|
| it2me_host_user_interface_->Start(
|
| - host_, base::Bind(&ChromotingHost::Shutdown, host_, base::Closure()));
|
| + host_.get(),
|
| + base::Bind(&ChromotingHost::Shutdown, host_, base::Closure()));
|
|
|
| xmpp_login_ = "host@domain";
|
| session1_ = new MockSession();
|
| @@ -257,7 +258,7 @@ class ChromotingHostTest : public testing::Test {
|
| connection.Pass(),
|
| desktop_environment_factory_.get(),
|
| base::TimeDelta());
|
| - connection_ptr->set_host_stub(client);
|
| + connection_ptr->set_host_stub(client.get());
|
| connection_ptr->set_input_stub(
|
| client->desktop_environment()->event_executor());
|
|
|
| @@ -282,7 +283,7 @@ class ChromotingHostTest : public testing::Test {
|
| protocol::AUTHENTICATION_FAILED));
|
| }
|
|
|
| - get_client(connection_index) = client;
|
| + get_client(connection_index) = client.get();
|
| }
|
|
|
| virtual void TearDown() OVERRIDE {
|
|
|