| Index: webrtc/modules/audio_processing/agc/histogram.h
|
| diff --git a/webrtc/modules/audio_processing/agc/histogram.h b/webrtc/modules/audio_processing/agc/histogram.h
|
| index a8706bb0ef1644473a93eba2425f57be14a3fb86..fd369a284b15872e8cb9d7c2a8bbbe1ad15d349b 100644
|
| --- a/webrtc/modules/audio_processing/agc/histogram.h
|
| +++ b/webrtc/modules/audio_processing/agc/histogram.h
|
| @@ -13,7 +13,8 @@
|
|
|
| #include <string.h>
|
|
|
| -#include "webrtc/base/scoped_ptr.h"
|
| +#include <memory>
|
| +
|
| #include "webrtc/typedefs.h"
|
|
|
| namespace webrtc {
|
| @@ -73,9 +74,9 @@ class Histogram {
|
| int64_t bin_count_q10_[kHistSize];
|
|
|
| // Circular buffer for probabilities
|
| - rtc::scoped_ptr<int[]> activity_probability_;
|
| + std::unique_ptr<int[]> activity_probability_;
|
| // Circular buffer for histogram-indices of probabilities.
|
| - rtc::scoped_ptr<int[]> hist_bin_index_;
|
| + std::unique_ptr<int[]> hist_bin_index_;
|
| // Current index of circular buffer, where the newest data will be written to,
|
| // therefore, pointing to the oldest data if buffer is full.
|
| int buffer_index_;
|
|
|