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

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: rebase 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 506b1aa1244d21a9946ad17c83f3e7de6a1120f3..1b7ccf131079f633736c3f6c4826d8dfb20add89 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,
ahead_pos_(0),
common_preferred_(USCRIPT_COMMON),
script_data_(data) {
- ASSERT(text);
- ASSERT(data);
+ DCHECK(text);
+ DCHECK(data);
if (ahead_pos_ < length_) {
current_set_.Clear();

Powered by Google App Engine
This is Rietveld 408576698