Index: content/public/android/java/src/org/chromium/content/browser/SpeechRecognition.java |
diff --git a/content/public/android/java/src/org/chromium/content/browser/SpeechRecognition.java b/content/public/android/java/src/org/chromium/content/browser/SpeechRecognition.java |
index 974191e25991b466b89df11f7a6637cb47c1a546..6d535cb9e8f308dbf89b001825555afb4ae3bb05 100644 |
--- a/content/public/android/java/src/org/chromium/content/browser/SpeechRecognition.java |
+++ b/content/public/android/java/src/org/chromium/content/browser/SpeechRecognition.java |
@@ -95,7 +95,7 @@ public class SpeechRecognition { |
// Translate Android SpeechRecognizer errors to Web Speech API errors. |
switch(error) { |
case SpeechRecognizer.ERROR_AUDIO: |
- code = SpeechRecognitionErrorCode.AUDIO; |
+ code = SpeechRecognitionErrorCode.AUDIO_CAPTURE; |
break; |
case SpeechRecognizer.ERROR_CLIENT: |
code = SpeechRecognitionErrorCode.ABORTED; |