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

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: Replace ASSERT, ASSERT_NOT_REACHED, and RELEASE_ASSERT in platform/text 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 7bd0fe5833365589ce3592ba198f3b4905b0de0f..16a75eac2b2beb0a73e5458f53852a9852b2ab5a 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, serializedCharacterData,
serializedCharacterDataSize, nullptr, &error);
- ASSERT(error == U_ZERO_ERROR);
+ DCHECK_EQ(error, U_ZERO_ERROR);
return trie;
}

Powered by Google App Engine
This is Rietveld 408576698