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

Unified Diff: webrtc/common_audio/fir_filter_sse.h

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: rebase 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/fir_filter_neon.h ('k') | webrtc/common_audio/fir_filter_sse.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webrtc/common_audio/fir_filter_sse.h
diff --git a/webrtc/common_audio/fir_filter_sse.h b/webrtc/common_audio/fir_filter_sse.h
index a3325cd01d23f087e1aba7f46c8513b6ef57b13f..3b1e324fc8132e5398098e8dd68d20d1b9a3c596 100644
--- a/webrtc/common_audio/fir_filter_sse.h
+++ b/webrtc/common_audio/fir_filter_sse.h
@@ -11,7 +11,8 @@
#ifndef WEBRTC_COMMON_AUDIO_FIR_FILTER_SSE_H_
#define WEBRTC_COMMON_AUDIO_FIR_FILTER_SSE_H_
-#include "webrtc/base/scoped_ptr.h"
+#include <memory>
+
#include "webrtc/common_audio/fir_filter.h"
#include "webrtc/system_wrappers/include/aligned_malloc.h"
@@ -28,8 +29,8 @@ class FIRFilterSSE2 : public FIRFilter {
private:
size_t coefficients_length_;
size_t state_length_;
- rtc::scoped_ptr<float[], AlignedFreeDeleter> coefficients_;
- rtc::scoped_ptr<float[], AlignedFreeDeleter> state_;
+ std::unique_ptr<float[], AlignedFreeDeleter> coefficients_;
+ std::unique_ptr<float[], AlignedFreeDeleter> state_;
};
} // namespace webrtc
« no previous file with comments | « webrtc/common_audio/fir_filter_neon.h ('k') | webrtc/common_audio/fir_filter_sse.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698