| Index: chrome/browser/speech/speech_recognizer.h
|
| diff --git a/chrome/browser/speech/speech_recognizer.h b/chrome/browser/speech/speech_recognizer.h
|
| index 87ebb59144c207a93712c9fced6a76821c3d1b6c..4a18cb183903127c0376ca652d5c3bb387e614d5 100644
|
| --- a/chrome/browser/speech/speech_recognizer.h
|
| +++ b/chrome/browser/speech/speech_recognizer.h
|
| @@ -51,8 +51,9 @@ class SpeechRecognizer
|
| virtual void DidCompleteRecognition(int caller_id) = 0;
|
|
|
| // Invoked if there was an error while recording or recognizing audio. The
|
| - // session is terminated when this call is made and the DidXxxx callbacks
|
| - // are issued after this call.
|
| + // session has already been cancelled when this call is made and the DidXxxx
|
| + // callbacks will not be issued. It is safe to destroy/release the
|
| + // |SpeechRecognizer| object while processing this call.
|
| virtual void OnRecognizerError(int caller_id,
|
| SpeechRecognizer::ErrorCode error) = 0;
|
|
|
|
|