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

Unified Diff: third_party/WebKit/Source/platform/fonts/ScriptRunIterator.cpp

Issue 2807913002: Replace ASSERT, ASSERT_NOT_REACHED, and RELEASE_ASSERT in platform/fonts (Closed)
Patch Set: Replace ASSERT, ASSERT_NOT_REACHED, and RELEASE_ASSERT in platform/fonts Created 3 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/platform/fonts/ScriptRunIterator.cpp
diff --git a/third_party/WebKit/Source/platform/fonts/ScriptRunIterator.cpp b/third_party/WebKit/Source/platform/fonts/ScriptRunIterator.cpp
index 4f557464920887ec1c2d9c315e5539a5439446fa..df705485c04e730d193edf712358f9ed1f7867ea 100644
--- a/third_party/WebKit/Source/platform/fonts/ScriptRunIterator.cpp
+++ b/third_party/WebKit/Source/platform/fonts/ScriptRunIterator.cpp
@@ -124,8 +124,8 @@ ScriptRunIterator::ScriptRunIterator(const UChar* text,
m_aheadPos(0),
m_commonPreferred(USCRIPT_COMMON),
m_scriptData(data) {
- ASSERT(text);
- ASSERT(data);
+ DCHECK(text);
+ DCHECK(data);
if (m_aheadPos < m_length) {
m_currentSet.clear();

Powered by Google App Engine
This is Rietveld 408576698