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:
@ -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_;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user