summaryrefslogtreecommitdiffstats
path: root/remoting/host/chromoting_host.cc
diff options
context:
space:
mode:
Diffstat (limited to 'remoting/host/chromoting_host.cc')
-rw-r--r--remoting/host/chromoting_host.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/remoting/host/chromoting_host.cc b/remoting/host/chromoting_host.cc
index ec9e8a2..b1ddb5b 100644
--- a/remoting/host/chromoting_host.cc
+++ b/remoting/host/chromoting_host.cc
@@ -639,8 +639,8 @@ void ChromotingHost::ShutdownJingleClient() {
// Disconnect from the talk network.
if (jingle_client_) {
- jingle_client_->Close(NewRunnableMethod(
- this, &ChromotingHost::ShutdownSignallingDisconnected));
+ jingle_client_->Close(base::Bind(
+ &ChromotingHost::ShutdownSignallingDisconnected, this));
} else {
ShutdownRecorder();
}