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 2c2abdd67d848f5f1aae7404979670c777eb6e0e..732fecbf92a16d270fd3e43194205648c1c6dbaa 100644 |
--- a/remoting/protocol/client_video_dispatcher_unittest.cc |
+++ b/remoting/protocol/client_video_dispatcher_unittest.cc |
@@ -35,7 +35,7 @@ class ClientVideoDispatcherTest : public testing::Test, |
ErrorCode error) override; |
protected: |
- void OnVideoAck(scoped_ptr<VideoAck> ack, const base::Closure& done); |
+ void OnVideoAck(scoped_ptr<VideoAck> ack); |
void OnReadError(int error); |
base::MessageLoop message_loop_; |
@@ -97,10 +97,8 @@ void ClientVideoDispatcherTest::OnChannelError( |
FAIL(); |
} |
-void ClientVideoDispatcherTest::OnVideoAck(scoped_ptr<VideoAck> ack, |
- const base::Closure& done) { |
+void ClientVideoDispatcherTest::OnVideoAck(scoped_ptr<VideoAck> ack) { |
ack_messages_.push_back(ack.release()); |
- done.Run(); |
} |
void ClientVideoDispatcherTest::OnReadError(int error) { |