summaryrefslogtreecommitdiffstats
path: root/remoting/protocol/buffered_socket_writer.cc
diff options
context:
space:
mode:
Diffstat (limited to 'remoting/protocol/buffered_socket_writer.cc')
-rw-r--r--remoting/protocol/buffered_socket_writer.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/remoting/protocol/buffered_socket_writer.cc b/remoting/protocol/buffered_socket_writer.cc
index ce8dd87..2edba0b 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) {