Index: webrtc/modules/video_processing/video_denoiser.h |
diff --git a/webrtc/modules/video_processing/video_denoiser.h b/webrtc/modules/video_processing/video_denoiser.h |
index 107a15ca07e67c28f130a78236020ec72633fecd..0fe205363942e7fbf73ba07d5b4de95f95833377 100644 |
--- a/webrtc/modules/video_processing/video_denoiser.h |
+++ b/webrtc/modules/video_processing/video_denoiser.h |
@@ -11,6 +11,8 @@ |
#ifndef WEBRTC_MODULES_VIDEO_PROCESSING_VIDEO_DENOISER_H_ |
#define WEBRTC_MODULES_VIDEO_PROCESSING_VIDEO_DENOISER_H_ |
+#include <memory> |
+ |
#include "webrtc/modules/video_processing/util/denoiser_filter.h" |
#include "webrtc/modules/video_processing/util/skin_detection.h" |
@@ -29,8 +31,8 @@ class VideoDenoiser { |
uint8_t* y_dst); |
int width_; |
int height_; |
- rtc::scoped_ptr<DenoiseMetrics[]> metrics_; |
- rtc::scoped_ptr<DenoiserFilter> filter_; |
+ std::unique_ptr<DenoiseMetrics[]> metrics_; |
+ std::unique_ptr<DenoiserFilter> filter_; |
}; |
} // namespace webrtc |