| Index: webrtc/modules/audio_processing/voice_detection_impl.cc
|
| diff --git a/webrtc/modules/audio_processing/voice_detection_impl.cc b/webrtc/modules/audio_processing/voice_detection_impl.cc
|
| index 22d218c371b8a54f430bf8bf4f251a3aaf52ef2c..674a5197a874babd8ee5b5da2a20cf8e1100a16f 100644
|
| --- a/webrtc/modules/audio_processing/voice_detection_impl.cc
|
| +++ b/webrtc/modules/audio_processing/voice_detection_impl.cc
|
| @@ -41,7 +41,7 @@ VoiceDetectionImpl::~VoiceDetectionImpl() {}
|
| void VoiceDetectionImpl::Initialize(int sample_rate_hz) {
|
| rtc::CritScope cs(crit_);
|
| sample_rate_hz_ = sample_rate_hz;
|
| - rtc::scoped_ptr<Vad> new_vad;
|
| + std::unique_ptr<Vad> new_vad;
|
| if (enabled_) {
|
| new_vad.reset(new Vad());
|
| }
|
|
|