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

Unified Diff: third_party/WebKit/Source/platform/text/CharacterEmoji.cpp

Issue 2811453002: Replace ASSERT, ASSERT_NOT_REACHED, and RELEASE_ASSERT in platform/text (Closed)
Patch Set: fix 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/text/CharacterEmoji.cpp
diff --git a/third_party/WebKit/Source/platform/text/CharacterEmoji.cpp b/third_party/WebKit/Source/platform/text/CharacterEmoji.cpp
index 895ea030516e75efb76019030ee93349bc6df2ff..af051b46589bed421afd1da1e44623820c8f9136 100644
--- a/third_party/WebKit/Source/platform/text/CharacterEmoji.cpp
+++ b/third_party/WebKit/Source/platform/text/CharacterEmoji.cpp
@@ -189,7 +189,7 @@ static void applyPatternAndFreeze(icu::UnicodeSet* unicodeSet,
// Use ICU's invariant-character initialization method.
unicodeSet->applyPattern(icu::UnicodeString(pattern, -1, US_INV), err);
unicodeSet->freeze();
- ASSERT(err == U_ZERO_ERROR);
+ DCHECK_EQ(err, U_ZERO_ERROR);
}
bool Character::isEmoji(UChar32 ch) {
« no previous file with comments | « third_party/WebKit/Source/platform/text/Character.cpp ('k') | third_party/WebKit/Source/platform/text/DateTimeFormat.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698