Index: remoting/host/client_session.h |
diff --git a/remoting/host/client_session.h b/remoting/host/client_session.h |
index 6103c0842e3b20b6f0eae6c8bc8d03fab18bde36..e3a4de18a643a1d4b5a1396b37d13777c9f7143d 100644 |
--- a/remoting/host/client_session.h |
+++ b/remoting/host/client_session.h |
@@ -57,10 +57,8 @@ class ClientSession : public protocol::HostEventStub, |
const net::IPEndPoint& local_end_point) = 0; |
}; |
- // Takes ownership of |connection|. Does not take ownership of |
- // |event_handler|, |host_event_stub|, or |capturer|. |
ClientSession(EventHandler* event_handler, |
- protocol::ConnectionToClient* connection, |
+ scoped_ptr<protocol::ConnectionToClient> connection, |
protocol::HostEventStub* host_event_stub, |
Capturer* capturer); |
virtual ~ClientSession(); |