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 656f28255aa698664de2297370711d2f2eac59ba..b52ce18672df23a750fc5b9b1a38ba66ccbd2771 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; |