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

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

Issue 2394683005: Remove ASSERT_UNUSED (Closed)
Patch Set: Created 4 years, 2 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/wtf/text/WTFString.cpp
diff --git a/third_party/WebKit/Source/wtf/text/WTFString.cpp b/third_party/WebKit/Source/wtf/text/WTFString.cpp
index 51a241c27f484954834c40f8146bd3ad6ed3a3c8..c0bee9b49b2bf64d320942231f1cf14aa14b1b09 100644
--- a/third_party/WebKit/Source/wtf/text/WTFString.cpp
+++ b/third_party/WebKit/Source/wtf/text/WTFString.cpp
@@ -629,7 +629,7 @@ CString String::utf8(UTF8ConversionMode mode) const {
convertLatin1ToUTF8(&characters, characters + length, &buffer,
buffer + bufferVector.size());
// (length * 3) should be sufficient for any conversion
- ASSERT_UNUSED(result, result != targetExhausted);
+ DCHECK_NE(result, targetExhausted);
} else {
const UChar* characters = this->characters16();

Powered by Google App Engine
This is Rietveld 408576698