| Index: webrtc/common_audio/real_fourier.h
|
| diff --git a/webrtc/common_audio/real_fourier.h b/webrtc/common_audio/real_fourier.h
|
| index 0be56a58b0eda10de70445ccb4ac74a46840f694..5e83e37f70ebfbde2f3918c9e17a252dde1529db 100644
|
| --- a/webrtc/common_audio/real_fourier.h
|
| +++ b/webrtc/common_audio/real_fourier.h
|
| @@ -12,8 +12,8 @@
|
| #define WEBRTC_COMMON_AUDIO_REAL_FOURIER_H_
|
|
|
| #include <complex>
|
| +#include <memory>
|
|
|
| -#include "webrtc/base/scoped_ptr.h"
|
| #include "webrtc/system_wrappers/include/aligned_malloc.h"
|
|
|
| // Uniform interface class for the real DFT and its inverse, for power-of-2
|
| @@ -25,8 +25,8 @@ namespace webrtc {
|
| class RealFourier {
|
| public:
|
| // Shorthand typenames for the scopers used by the buffer allocation helpers.
|
| - typedef rtc::scoped_ptr<float[], AlignedFreeDeleter> fft_real_scoper;
|
| - typedef rtc::scoped_ptr<std::complex<float>[], AlignedFreeDeleter>
|
| + typedef std::unique_ptr<float[], AlignedFreeDeleter> fft_real_scoper;
|
| + typedef std::unique_ptr<std::complex<float>[], AlignedFreeDeleter>
|
| fft_cplx_scoper;
|
|
|
| // The alignment required for all input and output buffers, in bytes.
|
| @@ -34,7 +34,7 @@ class RealFourier {
|
|
|
| // Construct a wrapper instance for the given input order, which must be
|
| // between 1 and kMaxFftOrder, inclusively.
|
| - static rtc::scoped_ptr<RealFourier> Create(int fft_order);
|
| + static std::unique_ptr<RealFourier> Create(int fft_order);
|
| virtual ~RealFourier() {};
|
|
|
| // Helper to compute the smallest FFT order (a power of 2) which will contain
|
|
|