| Index: webrtc/modules/audio_processing/level_estimator_impl.h
|
| diff --git a/webrtc/modules/audio_processing/level_estimator_impl.h b/webrtc/modules/audio_processing/level_estimator_impl.h
|
| index 4401da37e432d1ed85dcea52c06156e8d3fef164..df43c9be0d069070e275d3c312652ab448afd364 100644
|
| --- a/webrtc/modules/audio_processing/level_estimator_impl.h
|
| +++ b/webrtc/modules/audio_processing/level_estimator_impl.h
|
| @@ -11,9 +11,10 @@
|
| #ifndef WEBRTC_MODULES_AUDIO_PROCESSING_LEVEL_ESTIMATOR_IMPL_H_
|
| #define WEBRTC_MODULES_AUDIO_PROCESSING_LEVEL_ESTIMATOR_IMPL_H_
|
|
|
| +#include <memory>
|
| +
|
| #include "webrtc/base/constructormagic.h"
|
| #include "webrtc/base/criticalsection.h"
|
| -#include "webrtc/base/scoped_ptr.h"
|
| #include "webrtc/modules/audio_processing/include/audio_processing.h"
|
|
|
| namespace webrtc {
|
| @@ -38,7 +39,7 @@ class LevelEstimatorImpl : public LevelEstimator {
|
| private:
|
| rtc::CriticalSection* const crit_ = nullptr;
|
| bool enabled_ GUARDED_BY(crit_) = false;
|
| - rtc::scoped_ptr<RMSLevel> rms_ GUARDED_BY(crit_);
|
| + std::unique_ptr<RMSLevel> rms_ GUARDED_BY(crit_);
|
| RTC_DISALLOW_IMPLICIT_CONSTRUCTORS(LevelEstimatorImpl);
|
| };
|
| } // namespace webrtc
|
|
|