Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(58)

Unified Diff: webrtc/modules/video_processing/video_denoiser.h

Issue 1738863002: Replace scoped_ptr with unique_ptr in webrtc/modules/video_*/ (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@up4
Patch Set: rebase Created 4 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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

Powered by Google App Engine
This is Rietveld 408576698