| Index: webrtc/modules/video_coding/codecs/test/videoprocessor_integrationtest.h
|
| diff --git a/webrtc/modules/video_coding/codecs/test/videoprocessor_integrationtest.h b/webrtc/modules/video_coding/codecs/test/videoprocessor_integrationtest.h
|
| index 18244691feb676904339937783accd3edc9cc0ea..1dad49c9d705324c1d7c43ddc0194587e28350f0 100644
|
| --- a/webrtc/modules/video_coding/codecs/test/videoprocessor_integrationtest.h
|
| +++ b/webrtc/modules/video_coding/codecs/test/videoprocessor_integrationtest.h
|
| @@ -40,6 +40,7 @@
|
| #include "webrtc/rtc_base/checks.h"
|
| #include "webrtc/rtc_base/file.h"
|
| #include "webrtc/rtc_base/logging.h"
|
| +#include "webrtc/rtc_base/ptr_util.h"
|
| #include "webrtc/test/gtest.h"
|
| #include "webrtc/test/testsupport/fileutils.h"
|
| #include "webrtc/test/testsupport/frame_reader.h"
|
| @@ -260,11 +261,11 @@ class VideoProcessorIntegrationTest : public testing::Test {
|
|
|
| packet_manipulator_.reset(new test::PacketManipulatorImpl(
|
| &packet_reader_, config_.networking_config, config_.verbose));
|
| - processor_.reset(new test::VideoProcessorImpl(
|
| + processor_ = rtc::MakeUnique<VideoProcessor>(
|
| encoder_.get(), decoder_.get(), analysis_frame_reader_.get(),
|
| analysis_frame_writer_.get(), packet_manipulator_.get(), config_,
|
| &stats_, source_frame_writer_.get(), encoded_frame_writer_.get(),
|
| - decoded_frame_writer_.get()));
|
| + decoded_frame_writer_.get());
|
| processor_->Init();
|
| }
|
|
|
|
|