Replace scoped_ptr with unique_ptr in webrtc/modules/video_*/

BUG=webrtc:5520

Review URL: https://codereview.webrtc.org/1738863002

Cr-Commit-Position: refs/heads/master@{#11836}
This commit is contained in:
kwiberg
2016-03-02 01:01:11 -08:00
committed by Commit bot
parent 4eb1ddd817
commit e065fcf9a9
18 changed files with 72 additions and 49 deletions

View File

@ -11,7 +11,8 @@
#ifndef WEBRTC_MODULES_VIDEO_PROCESSING_FRAME_PREPROCESSOR_H_
#define WEBRTC_MODULES_VIDEO_PROCESSING_FRAME_PREPROCESSOR_H_
#include "webrtc/base/scoped_ptr.h"
#include <memory>
#include "webrtc/modules/video_processing/include/video_processing.h"
#include "webrtc/modules/video_processing/content_analysis.h"
#include "webrtc/modules/video_processing/spatial_resampler.h"
@ -74,7 +75,7 @@ class VPMFramePreprocessor {
VPMSpatialResampler* spatial_resampler_;
VPMContentAnalysis* ca_;
VPMVideoDecimator* vd_;
rtc::scoped_ptr<VideoDenoiser> denoiser_;
std::unique_ptr<VideoDenoiser> denoiser_;
bool enable_ca_;
uint32_t frame_cnt_;
};