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

Unified Diff: third_party/WebKit/Source/wtf/text/TextEncoding.cpp

Issue 2585673002: Replace ASSERT, ENABLE(ASSERT), and ASSERT_NOT_REACHED in wtf (Closed)
Patch Set: Fix an Asan issue with LinkedHashSetNodeBase::unlink Created 4 years 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/wtf/text/TextEncoding.cpp
diff --git a/third_party/WebKit/Source/wtf/text/TextEncoding.cpp b/third_party/WebKit/Source/wtf/text/TextEncoding.cpp
index 10e62ca03e5f9a0c81aff4a0c198104ee49266ce..e92f80a470348bc014c091834daff11165a31746 100644
--- a/third_party/WebKit/Source/wtf/text/TextEncoding.cpp
+++ b/third_party/WebKit/Source/wtf/text/TextEncoding.cpp
@@ -180,7 +180,7 @@ const TextEncoding& UTF32LittleEndianEncoding() {
const TextEncoding& UTF8Encoding() {
DEFINE_THREAD_SAFE_STATIC_LOCAL(const TextEncoding, globalUTF8Encoding,
new TextEncoding("UTF-8"));
- ASSERT(globalUTF8Encoding.isValid());
+ DCHECK(globalUTF8Encoding.isValid());
return globalUTF8Encoding;
}
« no previous file with comments | « third_party/WebKit/Source/wtf/text/TextCodecUTF8.cpp ('k') | third_party/WebKit/Source/wtf/text/TextEncodingRegistry.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698