| Index: remoting/protocol/connection_to_client_unittest.cc
|
| diff --git a/remoting/protocol/connection_to_client_unittest.cc b/remoting/protocol/connection_to_client_unittest.cc
|
| index fcc732c1d04a410fff58fd67c19fbab1ae81f0aa..7a21096c79c92f93426d716b7d4ea49f67df88a0 100644
|
| --- a/remoting/protocol/connection_to_client_unittest.cc
|
| +++ b/remoting/protocol/connection_to_client_unittest.cc
|
| @@ -1,4 +1,4 @@
|
| -// Copyright (c) 2010 The Chromium Authors. All rights reserved.
|
| +// Copyright (c) 2011 The Chromium Authors. All rights reserved.
|
| // Use of this source code is governed by a BSD-style license that can be
|
| // found in the LICENSE file.
|
|
|
| @@ -27,8 +27,8 @@ class ConnectionToClientTest : public testing::Test {
|
| session_->set_message_loop(&message_loop_);
|
|
|
| // Allocate a ClientConnection object with the mock objects.
|
| - viewer_ = new ConnectionToClient(&message_loop_, &handler_,
|
| - &host_stub_, &input_stub_);
|
| + viewer_ = new ConnectionToClient(&message_loop_, &handler_, &input_stub_);
|
| + viewer_->set_host_stub(&host_stub_);
|
| viewer_->Init(session_);
|
| EXPECT_CALL(handler_, OnConnectionOpened(viewer_.get()));
|
| session_->state_change_callback()->Run(
|
|
|