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

Unified Diff: third_party/WebKit/Source/wtf/HexNumber.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
« no previous file with comments | « third_party/WebKit/Source/wtf/HashTable.h ('k') | third_party/WebKit/Source/wtf/InstanceCounter.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/wtf/HexNumber.h
diff --git a/third_party/WebKit/Source/wtf/HexNumber.h b/third_party/WebKit/Source/wtf/HexNumber.h
index 3d1fa8cb041c67339fa9348ee64b3698c6784a4f..6956430bfd413474530f8fe4fd4f764f3f09d2c4 100644
--- a/third_party/WebKit/Source/wtf/HexNumber.h
+++ b/third_party/WebKit/Source/wtf/HexNumber.h
@@ -66,7 +66,7 @@ inline void appendUnsignedAsHexFixedSize(unsigned number,
T& destination,
unsigned desiredDigits,
HexConversionMode mode = Uppercase) {
- ASSERT(desiredDigits);
+ DCHECK(desiredDigits);
const LChar* hexDigits = Internal::hexDigitsForMode(mode);
Vector<LChar, 8> result;
@@ -75,7 +75,7 @@ inline void appendUnsignedAsHexFixedSize(unsigned number,
number >>= 4;
} while (result.size() < desiredDigits);
- ASSERT(result.size() == desiredDigits);
+ DCHECK_EQ(result.size(), desiredDigits);
destination.append(result.data(), result.size());
}
« no previous file with comments | « third_party/WebKit/Source/wtf/HashTable.h ('k') | third_party/WebKit/Source/wtf/InstanceCounter.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698