Index: remoting/host/chromoting_host_unittest.cc |
diff --git a/remoting/host/chromoting_host_unittest.cc b/remoting/host/chromoting_host_unittest.cc |
index 19efc25c37052923a67f09d65b70870f9c6d9550..ca44ed198fa0aaa4bbaa904ac974e77e07099bf4 100644 |
--- a/remoting/host/chromoting_host_unittest.cc |
+++ b/remoting/host/chromoting_host_unittest.cc |
@@ -57,10 +57,10 @@ void PostQuitTask(base::MessageLoop* message_loop) { |
message_loop->PostTask(FROM_HERE, base::MessageLoop::QuitClosure()); |
} |
-// Run the task and delete it afterwards. This action is used to deal with |
-// done callbacks. |
+// This action is used to call the done callbacks for the VideoCapturer. |
ACTION(RunDoneTask) { |
- arg1.Run(); |
+ arg1.Run(protocol::VideoStub::PacketProgress::SENT); |
+ arg1.Run(protocol::VideoStub::PacketProgress::DONE); |
} |
} // namespace |