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

Unified Diff: webrtc/common_audio/real_fourier_ooura.h

Issue 1712513002: Replace scoped_ptr with unique_ptr in webrtc/common_audio/ (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: need uintptr_t 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/common_audio/real_fourier_ooura.h
diff --git a/webrtc/common_audio/real_fourier_ooura.h b/webrtc/common_audio/real_fourier_ooura.h
index 8d094bf49434e828b0b8033b3cf750e8ee39b099..99d09d78fef7dd40df511221a8d655b66da4ac93 100644
--- a/webrtc/common_audio/real_fourier_ooura.h
+++ b/webrtc/common_audio/real_fourier_ooura.h
@@ -12,8 +12,8 @@
#define WEBRTC_COMMON_AUDIO_REAL_FOURIER_OOURA_H_
#include <complex>
+#include <memory>
-#include "webrtc/base/scoped_ptr.h"
#include "webrtc/common_audio/real_fourier.h"
namespace webrtc {
@@ -35,8 +35,8 @@ class RealFourierOoura : public RealFourier {
const size_t complex_length_;
// These are work arrays for Ooura. The names are based on the comments in
// fft4g.c.
- const rtc::scoped_ptr<size_t[]> work_ip_;
- const rtc::scoped_ptr<float[]> work_w_;
+ const std::unique_ptr<size_t[]> work_ip_;
+ const std::unique_ptr<float[]> work_w_;
};
} // namespace webrtc

Powered by Google App Engine
This is Rietveld 408576698