Index: remoting/protocol/rtp_writer.cc |
diff --git a/remoting/protocol/rtp_writer.cc b/remoting/protocol/rtp_writer.cc |
index a672c1e86b6a45a7ad5faf04a42f805a24eebfdd..9b57ea074cd7328b941761bced541626c2a5e653 100644 |
--- a/remoting/protocol/rtp_writer.cc |
+++ b/remoting/protocol/rtp_writer.cc |
@@ -26,7 +26,8 @@ RtpWriter::~RtpWriter() { } |
// Initializes the writer. Must be called on the thread the sockets belong |
// to. |
void RtpWriter::Init(net::Socket* rtp_socket) { |
- buffered_rtp_writer_->Init(rtp_socket, NULL); |
+ buffered_rtp_writer_->Init( |
+ rtp_socket, BufferedSocketWriter::WriteFailedCallback()); |
} |
void RtpWriter::Close() { |
@@ -73,7 +74,7 @@ void RtpWriter::SendPacket(uint32 timestamp, bool marker, |
payload_size); |
// And write the packet. |
- buffered_rtp_writer_->Write(buffer, NULL); |
+ buffered_rtp_writer_->Write(buffer, base::Closure()); |
} |
int RtpWriter::GetPendingPackets() { |