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

Unified Diff: third_party/WebKit/Source/wtf/text/StringOperators.h

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/StringOperators.h
diff --git a/third_party/WebKit/Source/wtf/text/StringOperators.h b/third_party/WebKit/Source/wtf/text/StringOperators.h
index d39c45bb104b7449a3af11495ed7dd27ba649586..1ccb63eabef157e25259bd18d704af7c514dffab 100644
--- a/third_party/WebKit/Source/wtf/text/StringOperators.h
+++ b/third_party/WebKit/Source/wtf/text/StringOperators.h
@@ -83,7 +83,7 @@ bool StringAppend<StringType1, StringType2>::is8Bit() const {
template <typename StringType1, typename StringType2>
void StringAppend<StringType1, StringType2>::writeTo(LChar* destination) const {
- ASSERT(is8Bit());
+ DCHECK(is8Bit());
StringTypeAdapter<StringType1> adapter1(m_string1);
StringTypeAdapter<StringType2> adapter2(m_string2);
adapter1.writeTo(destination);
« no previous file with comments | « third_party/WebKit/Source/wtf/text/StringImplCF.cpp ('k') | third_party/WebKit/Source/wtf/text/StringStatics.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698