| Index: remoting/host/client_session.cc
|
| diff --git a/remoting/host/client_session.cc b/remoting/host/client_session.cc
|
| index 81abc712c32ecba7ecc79b27b8e6c013bdb13f50..8844ce86424e185fb086e9977063ec9affc097df 100644
|
| --- a/remoting/host/client_session.cc
|
| +++ b/remoting/host/client_session.cc
|
| @@ -27,12 +27,12 @@ using protocol::MouseEvent;
|
|
|
| ClientSession::ClientSession(
|
| EventHandler* event_handler,
|
| - protocol::ConnectionToClient* connection,
|
| + scoped_ptr<protocol::ConnectionToClient> connection,
|
| protocol::HostEventStub* host_event_stub,
|
| Capturer* capturer)
|
| : event_handler_(event_handler),
|
| - connection_(connection),
|
| - client_jid_(connection->session()->jid()),
|
| + connection_(connection.Pass()),
|
| + client_jid_(connection_->session()->jid()),
|
| host_event_stub_(host_event_stub),
|
| capturer_(capturer),
|
| authenticated_(false),
|
|
|