summaryrefslogtreecommitdiffstats
path: root/chrome/browser/speech/speech_input_extension_apitest.cc
diff options
context:
space:
mode:
authortasak@google.com <tasak@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2012-12-03 04:18:50 +0000
committertasak@google.com <tasak@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2012-12-03 04:18:50 +0000
commit9469fc0d408c2dcbc3e50dfc4f2a0f24da46fdce (patch)
treeda436bcb98ae52609dd0c23bf1034338e6c1757a /chrome/browser/speech/speech_input_extension_apitest.cc
parent054bd9d26eb1f945d4b7c18e4a30c8c5354bcda8 (diff)
downloadchromium_src-9469fc0d408c2dcbc3e50dfc4f2a0f24da46fdce.zip
chromium_src-9469fc0d408c2dcbc3e50dfc4f2a0f24da46fdce.tar.gz
chromium_src-9469fc0d408c2dcbc3e50dfc4f2a0f24da46fdce.tar.bz2
Revert 170668
Needs to revert this because its WebKit patch was unrolled. (See r136319, unreviewed, rolling out r136236). > Update the Speech Api to support array(s) of result items > instead of a single item at a time. > > BUG=143124 > TEST=Covered by content_unittests > > Review URL: https://chromiumcodereview.appspot.com/11421103 TBR=tommi@chromium.org Review URL: https://codereview.chromium.org/11416310 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@170701 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/speech/speech_input_extension_apitest.cc')
-rw-r--r--chrome/browser/speech/speech_input_extension_apitest.cc4
1 files changed, 1 insertions, 3 deletions
diff --git a/chrome/browser/speech/speech_input_extension_apitest.cc b/chrome/browser/speech/speech_input_extension_apitest.cc
index 82b879b..59b9958 100644
--- a/chrome/browser/speech/speech_input_extension_apitest.cc
+++ b/chrome/browser/speech/speech_input_extension_apitest.cc
@@ -185,9 +185,7 @@ void SpeechInputExtensionApiTest::ProvideResults() {
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);
}