Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(113)

Unified Diff: content/browser/speech/speech_recognition_browsertest.cc

Issue 2687853002: Switching VirtualKeyboardPrivate keyboard config call stack to receive HasInputDevices() responce a… (Closed)
Patch Set: Fix for compilation error on linux_chromium_chromeos Created 3 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: content/browser/speech/speech_recognition_browsertest.cc
diff --git a/content/browser/speech/speech_recognition_browsertest.cc b/content/browser/speech/speech_recognition_browsertest.cc
index 32fb5dea3917a69036289dceedd1d9bf787c237c..c975620f3cb2741b0eb02ab20e9886a78eecfa33 100644
--- a/content/browser/speech/speech_recognition_browsertest.cc
+++ b/content/browser/speech/speech_recognition_browsertest.cc
@@ -133,6 +133,10 @@ class SpeechRecognitionBrowserTest :
void TearDownOnMainThread() override {
SpeechRecognizerImpl::SetAudioSystemForTesting(nullptr);
+
+ // Deleting AudioManager on audio thread,
+ audio_system_.reset();
+ audio_manager_.reset();
}
void TearDownInProcessBrowserTestFixture() override {

Powered by Google App Engine
This is Rietveld 408576698