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

Issue 137853010: Speech recognition: Fixing erroneous DCHECK usage (Closed)

Created:
6 years, 11 months ago by Tommy Widenflycht
Modified:
6 years, 11 months ago
CC:
chromium-reviews, joi+watch-content_chromium.org, darin-cc_chromium.org, jam
Visibility:
Public.

Description

Speech recognition: Fixing erroneous DCHECK usage When using the legacy API both continuos and provisional_results are false, and in the JS API they are by default false but can be set to true independently. The DCHECKs didn't allow for this and erroneously triggered for some API usages; like the implementation on google.com. Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=245125

Patch Set 1 #

Total comments: 4

Patch Set 2 : Fixed review comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+15 lines, -14 lines) Patch
M content/browser/speech/speech_recognition_manager_impl.cc View 1 chunk +2 lines, -1 line 0 comments Download
M content/browser/speech/speech_recognizer_impl.h View 2 chunks +3 lines, -2 lines 0 comments Download
M content/browser/speech/speech_recognizer_impl.cc View 1 3 chunks +9 lines, -9 lines 0 comments Download
M content/browser/speech/speech_recognizer_impl_unittest.cc View 1 chunk +1 line, -2 lines 0 comments Download

Messages

Total messages: 5 (0 generated)
Tommy Widenflycht
6 years, 11 months ago (2014-01-15 15:09:18 UTC) #1
tommi (sloooow) - chröme
lgtm. Is there a bug id? If so, please add it to the description. https://codereview.chromium.org/137853010/diff/1/content/browser/speech/speech_recognizer_impl.cc ...
6 years, 11 months ago (2014-01-15 15:42:06 UTC) #2
Tommy Widenflycht
https://codereview.chromium.org/137853010/diff/1/content/browser/speech/speech_recognizer_impl.cc File content/browser/speech/speech_recognizer_impl.cc (right): https://codereview.chromium.org/137853010/diff/1/content/browser/speech/speech_recognizer_impl.cc#newcode691 content/browser/speech/speech_recognizer_impl.cc:691: DCHECK_EQ(true, provisional_results_); On 2014/01/15 15:42:07, tommi wrote: > DCHECK(provisional_results_); ...
6 years, 11 months ago (2014-01-15 15:50:15 UTC) #3
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/tommyw@chromium.org/137853010/70001
6 years, 11 months ago (2014-01-15 16:33:53 UTC) #4
commit-bot: I haz the power
6 years, 11 months ago (2014-01-16 05:00:04 UTC) #5
Message was sent while issue was closed.
Change committed as 245125

Powered by Google App Engine
This is Rietveld 408576698