Index: webrtc/modules/audio_processing/agc/agc.h |
diff --git a/webrtc/modules/audio_processing/agc/agc.h b/webrtc/modules/audio_processing/agc/agc.h |
index 08c287f82057c613e3c3b27b9871b9255f35043b..9b6b8556ab95a1a001b7711a834897ed2414dcf9 100644 |
--- a/webrtc/modules/audio_processing/agc/agc.h |
+++ b/webrtc/modules/audio_processing/agc/agc.h |
@@ -11,7 +11,8 @@ |
#ifndef WEBRTC_MODULES_AUDIO_PROCESSING_AGC_AGC_H_ |
#define WEBRTC_MODULES_AUDIO_PROCESSING_AGC_AGC_H_ |
-#include "webrtc/base/scoped_ptr.h" |
+#include <memory> |
+ |
#include "webrtc/modules/audio_processing/vad/voice_activity_detector.h" |
#include "webrtc/typedefs.h" |
@@ -48,8 +49,8 @@ class Agc { |
private: |
double target_level_loudness_; |
int target_level_dbfs_; |
- rtc::scoped_ptr<Histogram> histogram_; |
- rtc::scoped_ptr<Histogram> inactive_histogram_; |
+ std::unique_ptr<Histogram> histogram_; |
+ std::unique_ptr<Histogram> inactive_histogram_; |
VoiceActivityDetector vad_; |
}; |