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

Unified Diff: webrtc/common_audio/real_fourier.cc

Issue 1937693002: Replace scoped_ptr with unique_ptr everywhere (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@unique5
Patch Set: Created 4 years, 8 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
« no previous file with comments | « webrtc/common_audio/real_fourier.h ('k') | webrtc/common_audio/vad/vad.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webrtc/common_audio/real_fourier.cc
diff --git a/webrtc/common_audio/real_fourier.cc b/webrtc/common_audio/real_fourier.cc
index 55ec49cba2cfebd702703cd471641a3ab21731be..67f942d560a2a6b60c0a95bc2bb943d4e1681bc2 100644
--- a/webrtc/common_audio/real_fourier.cc
+++ b/webrtc/common_audio/real_fourier.cc
@@ -21,11 +21,11 @@ using std::complex;
const size_t RealFourier::kFftBufferAlignment = 32;
-rtc::scoped_ptr<RealFourier> RealFourier::Create(int fft_order) {
+std::unique_ptr<RealFourier> RealFourier::Create(int fft_order) {
#if defined(RTC_USE_OPENMAX_DL)
- return rtc::scoped_ptr<RealFourier>(new RealFourierOpenmax(fft_order));
+ return std::unique_ptr<RealFourier>(new RealFourierOpenmax(fft_order));
#else
- return rtc::scoped_ptr<RealFourier>(new RealFourierOoura(fft_order));
+ return std::unique_ptr<RealFourier>(new RealFourierOoura(fft_order));
#endif
}
« no previous file with comments | « webrtc/common_audio/real_fourier.h ('k') | webrtc/common_audio/vad/vad.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698