| Index: remoting/protocol/rtp_video_reader_unittest.cc
|
| diff --git a/remoting/protocol/rtp_video_reader_unittest.cc b/remoting/protocol/rtp_video_reader_unittest.cc
|
| index 8c70b3e93a70a5a6f76cc178cfd256a72ea63626..fc1f79f697a7ff089de679028dff0035c4729b0d 100644
|
| --- a/remoting/protocol/rtp_video_reader_unittest.cc
|
| +++ b/remoting/protocol/rtp_video_reader_unittest.cc
|
| @@ -26,11 +26,10 @@ class RtpVideoReaderTest : public testing::Test,
|
| public:
|
| // VideoStub interface.
|
| virtual void ProcessVideoPacket(const VideoPacket* video_packet,
|
| - Task* done) {
|
| + const base::Closure& done) {
|
| received_packets_.push_back(VideoPacket());
|
| received_packets_.back() = *video_packet;
|
| - done->Run();
|
| - delete done;
|
| + done.Run();
|
| }
|
|
|
| virtual int GetPendingPackets() {
|
|
|