| Index: chrome/browser/speech/speech_input_extension_manager.cc
|
| diff --git a/chrome/browser/speech/speech_input_extension_manager.cc b/chrome/browser/speech/speech_input_extension_manager.cc
|
| index 7bfc14fced7cedf69fd40b0d0c9a4113b5627f46..fdcbf70e058b09b71636652bfb0a20f6f1231470 100644
|
| --- a/chrome/browser/speech/speech_input_extension_manager.cc
|
| +++ b/chrome/browser/speech/speech_input_extension_manager.cc
|
| @@ -340,10 +340,10 @@ void SpeechInputExtensionManager::DidStartReceivingAudioOnUIThread() {
|
| }
|
|
|
| void SpeechInputExtensionManager::OnRecognitionError(
|
| - int caller_id, const content::SpeechRecognitionErrorCode& error) {
|
| + int caller_id, const content::SpeechRecognitionError& error) {
|
| DCHECK(BrowserThread::CurrentlyOn(BrowserThread::IO));
|
| DCHECK_EQ(caller_id, kSpeechCallerId);
|
| - VLOG(1) << "OnRecognitionError: " << error;
|
| + VLOG(1) << "OnRecognitionError: " << error.code;
|
|
|
| base::AutoLock auto_lock(state_lock_);
|
| if (state_ == kShutdown)
|
| @@ -355,7 +355,7 @@ void SpeechInputExtensionManager::OnRecognitionError(
|
| std::string event_error_code;
|
| bool report_to_event = true;
|
|
|
| - switch (error) {
|
| + switch (error.code) {
|
| case content::SPEECH_RECOGNITION_ERROR_NONE:
|
| break;
|
|
|
|
|