| Index: remoting/host/screen_recorder.h
|
| diff --git a/remoting/host/screen_recorder.h b/remoting/host/screen_recorder.h
|
| index 303405e9ccb795491383c6c43249384c22431cfb..95e338a16a2052dac4fb58b8a1acddfe3219ddf2 100644
|
| --- a/remoting/host/screen_recorder.h
|
| +++ b/remoting/host/screen_recorder.h
|
| @@ -94,10 +94,10 @@ class ScreenRecorder : public base::RefCountedThreadSafe<ScreenRecorder> {
|
| void Stop(const base::Closure& done_task);
|
|
|
| // Add a connection to this recording session.
|
| - void AddConnection(scoped_refptr<protocol::ConnectionToClient> connection);
|
| + void AddConnection(protocol::ConnectionToClient* connection);
|
|
|
| // Remove a connection from receiving screen updates.
|
| - void RemoveConnection(scoped_refptr<protocol::ConnectionToClient> connection);
|
| + void RemoveConnection(protocol::ConnectionToClient* connection);
|
|
|
| // Remove all connections.
|
| void RemoveAllConnections();
|
| @@ -165,8 +165,7 @@ class ScreenRecorder : public base::RefCountedThreadSafe<ScreenRecorder> {
|
|
|
| // A list of clients connected to this hosts.
|
| // This member is always accessed on the network thread.
|
| - typedef std::vector<scoped_refptr<protocol::ConnectionToClient> >
|
| - ConnectionToClientList;
|
| + typedef std::vector<protocol::ConnectionToClient*> ConnectionToClientList;
|
| ConnectionToClientList connections_;
|
|
|
| // Flag that indicates recording has been started. This variable should only
|
|
|