Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(90)

Unified Diff: remoting/protocol/connection_to_client.cc

Issue 8493020: Move code in src/remoting to the new callbacks. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: - Created 9 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « remoting/protocol/buffered_socket_writer.cc ('k') | remoting/protocol/connection_to_host.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/protocol/connection_to_client.cc
diff --git a/remoting/protocol/connection_to_client.cc b/remoting/protocol/connection_to_client.cc
index 4f8a46b2b2177f787b5a6b5006e39a8726f69ea7..9c9285660d6870c56a9e5982cdbe4668d0de28e4 100644
--- a/remoting/protocol/connection_to_client.cc
+++ b/remoting/protocol/connection_to_client.cc
@@ -58,8 +58,7 @@ void ConnectionToClient::Disconnect() {
// This method can be called from main thread so perform threading switching.
if (!message_loop_->BelongsToCurrentThread()) {
message_loop_->PostTask(
- FROM_HERE,
- NewRunnableMethod(this, &ConnectionToClient::Disconnect));
+ FROM_HERE, base::Bind(&ConnectionToClient::Disconnect, this));
return;
}
« no previous file with comments | « remoting/protocol/buffered_socket_writer.cc ('k') | remoting/protocol/connection_to_host.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698