Index: remoting/protocol/client_video_dispatcher_unittest.cc |
diff --git a/remoting/protocol/client_video_dispatcher_unittest.cc b/remoting/protocol/client_video_dispatcher_unittest.cc |
index 5bf908cefe6b0be60aa24d1cc15cee4cb0ab6fe7..11f4afd9d13545c6e2b567789b51322fd6c658e8 100644 |
--- a/remoting/protocol/client_video_dispatcher_unittest.cc |
+++ b/remoting/protocol/client_video_dispatcher_unittest.cc |
@@ -76,7 +76,9 @@ ClientVideoDispatcherTest::ClientVideoDispatcherTest() |
reader_.StartReading(&host_socket_, |
base::Bind(&ClientVideoDispatcherTest::OnReadError, |
base::Unretained(this))); |
- writer_.Init(&host_socket_, BufferedSocketWriter::WriteFailedCallback()); |
+ writer_.Init( |
+ base::Bind(&P2PStreamSocket::Write, base::Unretained(&host_socket_)), |
+ BufferedSocketWriter::WriteFailedCallback()); |
} |
void ClientVideoDispatcherTest::ProcessVideoPacket( |