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

Unified Diff: third_party/WebKit/Source/platform/text/Character.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/Character.cpp
diff --git a/third_party/WebKit/Source/platform/text/Character.cpp b/third_party/WebKit/Source/platform/text/Character.cpp
index 2b967836eff98da26cee928334197ba542b4281a..3a32e3a560615343eb40bc49226c1adecdb7e7d5 100644
--- a/third_party/WebKit/Source/platform/text/Character.cpp
+++ b/third_party/WebKit/Source/platform/text/Character.cpp
@@ -84,7 +84,7 @@ static UTrie2* CreateTrie() {
UTrie2* trie = utrie2_openFromSerialized(
UTrie2ValueBits::UTRIE2_16_VALUE_BITS, kSerializedCharacterData,
kSerializedCharacterDataSize, nullptr, &error);
- ASSERT(error == U_ZERO_ERROR);
+ DCHECK_EQ(error, U_ZERO_ERROR);
return trie;
}
« no previous file with comments | « third_party/WebKit/Source/platform/text/BidiRunList.h ('k') | third_party/WebKit/Source/platform/text/CharacterEmoji.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698