Commit 324a1696 authored by mbarbella's avatar mbarbella Committed by Commit bot

Convert DCHECK validating that |request_id| was found to a CHECK in SpeechRecognitionDispatcher.

BUG=470777

Review URL: https://codereview.chromium.org/1143913003

Cr-Commit-Position: refs/heads/master@{#330660}
parent bd2a165a
...@@ -313,7 +313,7 @@ void SpeechRecognitionDispatcher::ResetAudioSink() { ...@@ -313,7 +313,7 @@ void SpeechRecognitionDispatcher::ResetAudioSink() {
const WebSpeechRecognitionHandle& SpeechRecognitionDispatcher::GetHandleFromID( const WebSpeechRecognitionHandle& SpeechRecognitionDispatcher::GetHandleFromID(
int request_id) { int request_id) {
HandleMap::iterator iter = handle_map_.find(request_id); HandleMap::iterator iter = handle_map_.find(request_id);
DCHECK(iter != handle_map_.end()); CHECK(iter != handle_map_.end());
return iter->second; return iter->second;
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment