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

Unified Diff: remoting/protocol/buffered_socket_writer.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/host/screen_recorder_unittest.cc ('k') | remoting/protocol/connection_to_client.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/protocol/buffered_socket_writer.cc
diff --git a/remoting/protocol/buffered_socket_writer.cc b/remoting/protocol/buffered_socket_writer.cc
index ce8dd87b3458ccceeaa18d457f19231d9a2ef911..2edba0b7184c06d436972d675bcef907679743a0 100644
--- a/remoting/protocol/buffered_socket_writer.cc
+++ b/remoting/protocol/buffered_socket_writer.cc
@@ -129,7 +129,7 @@ void BufferedSocketWriterBase::OnWritten(int result) {
// Schedule next write.
message_loop_->PostTask(
- FROM_HERE, NewRunnableMethod(this, &BufferedSocketWriterBase::DoWrite));
+ FROM_HERE, base::Bind(&BufferedSocketWriterBase::DoWrite, this));
}
void BufferedSocketWriterBase::HandleError(int result) {
« no previous file with comments | « remoting/host/screen_recorder_unittest.cc ('k') | remoting/protocol/connection_to_client.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698