| Index: webrtc/modules/video_coding/video_sender_unittest.cc
|
| diff --git a/webrtc/modules/video_coding/video_sender_unittest.cc b/webrtc/modules/video_coding/video_sender_unittest.cc
|
| index b5ffabf3e15f183b76886caef189affcdb2b40f7..18048fe99c6d8aa92b349bcc6c5599cfe9ae8482 100644
|
| --- a/webrtc/modules/video_coding/video_sender_unittest.cc
|
| +++ b/webrtc/modules/video_coding/video_sender_unittest.cc
|
| @@ -74,9 +74,8 @@ class EmptyFrameGenerator : public FrameGenerator {
|
| public:
|
| EmptyFrameGenerator(int width, int height) : width_(width), height_(height) {}
|
| VideoFrame* NextFrame() override {
|
| - frame_.reset(new VideoFrame());
|
| - frame_->CreateEmptyFrame(width_, height_, width_, (width_ + 1) / 2,
|
| - (width_ + 1) / 2);
|
| + frame_.reset(new VideoFrame(I420Buffer::Create(width_, height_),
|
| + webrtc::kVideoRotation_0, 0));
|
| return frame_.get();
|
| }
|
|
|
|
|