Index: remoting/host/chromoting_host.cc |
diff --git a/remoting/host/chromoting_host.cc b/remoting/host/chromoting_host.cc |
index e58623daf634c46b078d23ec55088b739cbfbfed..a06098c4ce6cd22a7e97da87b787d235ce776260 100644 |
--- a/remoting/host/chromoting_host.cc |
+++ b/remoting/host/chromoting_host.cc |
@@ -206,7 +206,7 @@ void ChromotingHost::OnConnectionOpened(ConnectionToClient* connection) { |
context_->main_message_loop()->PostTask( |
FROM_HERE, |
NewRunnableMethod(this, &ChromotingHost::OnClientConnected, |
- connection_.get())); |
+ connection_)); |
} |
void ChromotingHost::OnConnectionClosed(ConnectionToClient* connection) { |
@@ -216,7 +216,7 @@ void ChromotingHost::OnConnectionClosed(ConnectionToClient* connection) { |
context_->main_message_loop()->PostTask( |
FROM_HERE, |
NewRunnableMethod(this, &ChromotingHost::OnClientDisconnected, |
- connection_.get())); |
+ connection_)); |
} |
void ChromotingHost::OnConnectionFailed(ConnectionToClient* connection) { |
@@ -226,7 +226,7 @@ void ChromotingHost::OnConnectionFailed(ConnectionToClient* connection) { |
context_->main_message_loop()->PostTask( |
FROM_HERE, |
NewRunnableMethod(this, &ChromotingHost::OnClientDisconnected, |
- connection_.get())); |
+ connection_)); |
} |
//////////////////////////////////////////////////////////////////////////// |