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

Unified Diff: webrtc/modules/video_processing/util/denoiser_filter.cc

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/util/denoiser_filter.cc
diff --git a/webrtc/modules/video_processing/util/denoiser_filter.cc b/webrtc/modules/video_processing/util/denoiser_filter.cc
index fbc2435cb554473fc8722665c56d53133873078a..120f8f89fa8fc30df1ca44442a3e90e71bea67d9 100644
--- a/webrtc/modules/video_processing/util/denoiser_filter.cc
+++ b/webrtc/modules/video_processing/util/denoiser_filter.cc
@@ -21,9 +21,9 @@ const int kMotionMagnitudeThreshold = 8 * 3;
const int kSumDiffThreshold = 16 * 16 * 2;
const int kSumDiffThresholdHigh = 600;
-rtc::scoped_ptr<DenoiserFilter> DenoiserFilter::Create(
+std::unique_ptr<DenoiserFilter> DenoiserFilter::Create(
bool runtime_cpu_detection) {
- rtc::scoped_ptr<DenoiserFilter> filter;
+ std::unique_ptr<DenoiserFilter> filter;
if (runtime_cpu_detection) {
// If we know the minimum architecture at compile time, avoid CPU detection.
« no previous file with comments | « webrtc/modules/video_processing/util/denoiser_filter.h ('k') | webrtc/modules/video_processing/video_denoiser.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698