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

Unified Diff: third_party/WebKit/Source/platform/fonts/UTF16TextIterator.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/UTF16TextIterator.cpp
diff --git a/third_party/WebKit/Source/platform/fonts/UTF16TextIterator.cpp b/third_party/WebKit/Source/platform/fonts/UTF16TextIterator.cpp
index 76ddb074f23e690bbbf0e8078ef11c7559210f85..70d0b31972c58b53ea8c91549f03d033851f5ec6 100644
--- a/third_party/WebKit/Source/platform/fonts/UTF16TextIterator.cpp
+++ b/third_party/WebKit/Source/platform/fonts/UTF16TextIterator.cpp
@@ -53,7 +53,7 @@ bool UTF16TextIterator::IsValidSurrogatePair(UChar32& character) {
}
bool UTF16TextIterator::ConsumeSurrogatePair(UChar32& character) {
- ASSERT(U16_IS_SURROGATE(character));
+ DCHECK(U16_IS_SURROGATE(character));
if (!IsValidSurrogatePair(character)) {
character = kReplacementCharacter;

Powered by Google App Engine
This is Rietveld 408576698