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

Unified Diff: third_party/WebKit/Source/web/WebSpeechGrammar.cpp

Issue 1851293002: Remove BLINK_ASSERT() and BLINK_ASSERT_NOT_REACHED() macros. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Check the |callbacks| for nullptr and use explicit delete. Created 4 years, 8 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/web/WebSpeechGrammar.cpp
diff --git a/third_party/WebKit/Source/web/WebSpeechGrammar.cpp b/third_party/WebKit/Source/web/WebSpeechGrammar.cpp
index 7d5a6c0c3d6126decdcb932812b3dd4632b59673..b6a82a4650cfb1f799bd9274bcde61034c958743 100644
--- a/third_party/WebKit/Source/web/WebSpeechGrammar.cpp
+++ b/third_party/WebKit/Source/web/WebSpeechGrammar.cpp
@@ -48,13 +48,13 @@ WebSpeechGrammar& WebSpeechGrammar::operator=(SpeechGrammar* value)
WebURL WebSpeechGrammar::src() const
{
- BLINK_ASSERT(m_private.get());
+ DCHECK(m_private.get());
return m_private->src();
}
float WebSpeechGrammar::weight() const
{
- BLINK_ASSERT(m_private.get());
+ DCHECK(m_private.get());
return m_private->weight();
}

Powered by Google App Engine
This is Rietveld 408576698