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

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: 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/UTF16TextIterator.cpp
diff --git a/third_party/WebKit/Source/platform/fonts/UTF16TextIterator.cpp b/third_party/WebKit/Source/platform/fonts/UTF16TextIterator.cpp
index b806ac94e8119c9f4519fb0b4efc382e7467f725..aa158e6226764b6b5e3549cde32c6a1028591f30 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 = replacementCharacter;

Powered by Google App Engine
This is Rietveld 408576698