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

Unified Diff: third_party/WebKit/Source/modules/speech/SpeechRecognition.cpp

Issue 2862963003: Replace ASSERT with DCHECK in modules/ (Closed)
Patch Set: NOTREACHED instead of DCHECK(false) Created 3 years, 7 months 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: third_party/WebKit/Source/modules/speech/SpeechRecognition.cpp
diff --git a/third_party/WebKit/Source/modules/speech/SpeechRecognition.cpp b/third_party/WebKit/Source/modules/speech/SpeechRecognition.cpp
index 7d8a9cbeb4cb758c55a28d4dc314502a1369f19c..21c26a6215db3514fe14c929e29864c1c0047b69 100644
--- a/third_party/WebKit/Source/modules/speech/SpeechRecognition.cpp
+++ b/third_party/WebKit/Source/modules/speech/SpeechRecognition.cpp
@@ -39,7 +39,7 @@ namespace blink {
SpeechRecognition* SpeechRecognition::Create(ExecutionContext* context) {
ASSERT(context && context->IsDocument());
Document* document = ToDocument(context);
- ASSERT(document);
+ DCHECK(document);
return new SpeechRecognition(document->GetPage(), context);
}

Powered by Google App Engine
This is Rietveld 408576698