| Index: content/browser/speech/speech_recognizer_impl_unittest.cc
|
| diff --git a/content/browser/speech/speech_recognizer_impl_unittest.cc b/content/browser/speech/speech_recognizer_impl_unittest.cc
|
| index b40ba1958457933e0b63933b48024239a3fe4739..62a1c6fee7c93b6fec941fa680636c3d7f9d1a95 100644
|
| --- a/content/browser/speech/speech_recognizer_impl_unittest.cc
|
| +++ b/content/browser/speech/speech_recognizer_impl_unittest.cc
|
| @@ -91,6 +91,7 @@ class SpeechRecognizerImplTest : public SpeechRecognitionEventListener,
|
|
|
| ~SpeechRecognizerImplTest() override {
|
| // Deleting |audio_manager_| on audio thread.
|
| + audio_system_.reset();
|
| audio_manager_.reset();
|
| audio_thread_.Stop();
|
| }
|
| @@ -219,7 +220,7 @@ class SpeechRecognizerImplTest : public SpeechRecognitionEventListener,
|
| scoped_refptr<SpeechRecognizerImpl> recognizer_;
|
| base::Thread audio_thread_;
|
| media::MockAudioManager::UniquePtr audio_manager_;
|
| - std::unique_ptr<media::AudioSystem> audio_system_;
|
| + media::AudioSystem::UniquePtr audio_system_;
|
| bool recognition_started_;
|
| bool recognition_ended_;
|
| bool result_received_;
|
|
|