| Index: remoting/protocol/rtp_video_reader_unittest.cc
|
| ===================================================================
|
| --- remoting/protocol/rtp_video_reader_unittest.cc (revision 96105)
|
| +++ remoting/protocol/rtp_video_reader_unittest.cc (working copy)
|
| @@ -4,7 +4,6 @@
|
|
|
| #include <vector>
|
|
|
| -#include "base/bind.h"
|
| #include "base/message_loop.h"
|
| #include "base/string_number_conversions.h"
|
| #include "net/base/io_buffer.h"
|
| @@ -66,16 +65,10 @@
|
| void Reset() {
|
| session_.reset(new FakeSession());
|
| reader_.reset(new RtpVideoReader());
|
| - reader_->Init(session_.get(), this,
|
| - base::Bind(&RtpVideoReaderTest::OnReaderInitialized,
|
| - base::Unretained(this)));
|
| + reader_->Init(session_.get(), this);
|
| received_packets_.clear();
|
| }
|
|
|
| - void OnReaderInitialized(bool success) {
|
| - ASSERT_TRUE(success);
|
| - }
|
| -
|
| void InitData(int size) {
|
| data_.resize(size);
|
| for (int i = 0; i < size; ++i) {
|
|
|