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

Unified Diff: webrtc/common_audio/real_fourier.cc

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.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
}

Powered by Google App Engine
This is Rietveld 408576698