Chromium Code Reviews| Index: content/browser/speech/speech_input_browsertest.cc |
| diff --git a/content/browser/speech/speech_input_browsertest.cc b/content/browser/speech/speech_input_browsertest.cc |
| index eae9b234a3b080bd48abcadb105d83f4f7ee7bd2..098fb5a84ce3194de88a3fec1a20157da18e9bf5 100644 |
| --- a/content/browser/speech/speech_input_browsertest.cc |
| +++ b/content/browser/speech/speech_input_browsertest.cc |
| @@ -117,8 +117,9 @@ class FakeSpeechInputManager : public SpeechInputManager { |
| if (caller_id_) { // Do a check in case we were cancelled.. |
| VLOG(1) << "Setting fake recognition result."; |
| delegate_->DidCompleteRecording(caller_id_); |
| - SpeechInputResultArray results; |
| - results.push_back(SpeechInputResultItem(ASCIIToUTF16(kTestResult), 1.0)); |
| + SpeechInputResult results; |
| + results.stable.push_back(SpeechInputResultItem( |
|
Satish
2011/10/06 09:09:06
did you mean '.hypotheses' here? I don't see a 'st
Leandro GraciĆ” Gil
2011/10/06 18:26:25
Done.
|
| + ASCIIToUTF16(kTestResult), 1.0)); |
| delegate_->SetRecognitionResult(caller_id_, results); |
| delegate_->DidCompleteRecognition(caller_id_); |
| caller_id_ = 0; |