summaryrefslogtreecommitdiffstats
path: root/remoting/host
diff options
context:
space:
mode:
authorsergeyu@chromium.org <sergeyu@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-06-24 21:51:42 +0000
committersergeyu@chromium.org <sergeyu@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-06-24 21:51:42 +0000
commit9c910e4187919cbb2d0dccdb8e720de869dabd2f (patch)
tree8791c509540b91971d63d6a22fa166de140d5a8c /remoting/host
parent5ee0a182a58cf59c24ccd485a0804e3f327ef412 (diff)
downloadchromium_src-9c910e4187919cbb2d0dccdb8e720de869dabd2f.zip
chromium_src-9c910e4187919cbb2d0dccdb8e720de869dabd2f.tar.gz
chromium_src-9c910e4187919cbb2d0dccdb8e720de869dabd2f.tar.bz2
Cleanup client shutdown sequence.
BUG=None TEST=Client doesn't crash when reloading the tab. Review URL: http://codereview.chromium.org/7241016 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@90443 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'remoting/host')
-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();
}