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

Unified Diff: webrtc/common_audio/lapped_transform.cc

Issue 1731153002: Replace scoped_ptr with unique_ptr in webrtc/common_audio/ (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: revert real_fourier.h + make changes so that things compile 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
« no previous file with comments | « webrtc/common_audio/lapped_transform.h ('k') | webrtc/common_audio/real_fourier_ooura.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webrtc/common_audio/lapped_transform.cc
diff --git a/webrtc/common_audio/lapped_transform.cc b/webrtc/common_audio/lapped_transform.cc
index 5ab1db1b2586142631768f5625014b894f5749fa..0edf586d78357b4ade2c94aaf48b96207f4c6825 100644
--- a/webrtc/common_audio/lapped_transform.cc
+++ b/webrtc/common_audio/lapped_transform.cc
@@ -72,7 +72,8 @@ LappedTransform::LappedTransform(size_t num_in_channels,
window,
shift_amount,
&blocker_callback_),
- fft_(RealFourier::Create(RealFourier::FftOrder(block_length_))),
+ fft_(rtc::ScopedToUnique(
+ RealFourier::Create(RealFourier::FftOrder(block_length_)))),
cplx_length_(RealFourier::ComplexLength(fft_->order())),
real_buf_(num_in_channels,
block_length_,
« no previous file with comments | « webrtc/common_audio/lapped_transform.h ('k') | webrtc/common_audio/real_fourier_ooura.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698