Index: webrtc/common_audio/fir_filter.cc |
diff --git a/webrtc/common_audio/fir_filter.cc b/webrtc/common_audio/fir_filter.cc |
index dc1b776f99728938cef7b684b96adaeb1a2b15cb..13a2237dae1a599f737288d6752eae4cbbfd81d5 100644 |
--- a/webrtc/common_audio/fir_filter.cc |
+++ b/webrtc/common_audio/fir_filter.cc |
@@ -13,7 +13,8 @@ |
#include <assert.h> |
#include <string.h> |
-#include "webrtc/base/scoped_ptr.h" |
+#include <memory> |
+ |
#include "webrtc/common_audio/fir_filter_neon.h" |
#include "webrtc/common_audio/fir_filter_sse.h" |
#include "webrtc/system_wrappers/include/cpu_features_wrapper.h" |
@@ -30,8 +31,8 @@ class FIRFilterC : public FIRFilter { |
private: |
size_t coefficients_length_; |
size_t state_length_; |
- rtc::scoped_ptr<float[]> coefficients_; |
- rtc::scoped_ptr<float[]> state_; |
+ std::unique_ptr<float[]> coefficients_; |
+ std::unique_ptr<float[]> state_; |
}; |
FIRFilter* FIRFilter::Create(const float* coefficients, |