Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(551)

Unified Diff: chrome/browser/speech/speech_input_extension_apitest.cc

Issue 11416310: Revert 170668 (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 8 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/browser/speech/speech_input_extension_apitest.cc
===================================================================
--- chrome/browser/speech/speech_input_extension_apitest.cc (revision 170700)
+++ chrome/browser/speech/speech_input_extension_apitest.cc (working copy)
@@ -185,9 +185,7 @@
GetManager()->OnSoundEnd(kSessionIDForTests);
GetManager()->OnAudioEnd(kSessionIDForTests);
- content::SpeechRecognitionResults results;
- results.push_back(next_result_);
- GetManager()->OnRecognitionResults(kSessionIDForTests, results);
+ GetManager()->OnRecognitionResult(kSessionIDForTests, next_result_);
GetManager()->OnRecognitionEnd(kSessionIDForTests);
}

Powered by Google App Engine
This is Rietveld 408576698