| Index: webrtc/modules/video_coding/codecs/test/videoprocessor.cc
|
| diff --git a/webrtc/modules/video_coding/codecs/test/videoprocessor.cc b/webrtc/modules/video_coding/codecs/test/videoprocessor.cc
|
| index 1f7d738dc53ad9996b9cd06864d779fc0c192d8c..e969fb7fb9f2d9260285023e4f3969b0bac2245b 100644
|
| --- a/webrtc/modules/video_coding/codecs/test/videoprocessor.cc
|
| +++ b/webrtc/modules/video_coding/codecs/test/videoprocessor.cc
|
| @@ -335,8 +335,8 @@ void VideoProcessorImpl::FrameDecoded(const VideoFrame& image) {
|
| if (image.width() != config_.codec_settings->width ||
|
| image.height() != config_.codec_settings->height) {
|
| rtc::scoped_refptr<I420Buffer> up_image(
|
| - new rtc::RefCountedObject<I420Buffer>(config_.codec_settings->width,
|
| - config_.codec_settings->height));
|
| + I420Buffer::Create(config_.codec_settings->width,
|
| + config_.codec_settings->height));
|
|
|
| // Should be the same aspect ratio, no cropping needed.
|
| up_image->ScaleFrom(image.video_frame_buffer());
|
|
|