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

Unified Diff: third_party/WebKit/Source/wtf/BitVector.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/Atomics.h ('k') | third_party/WebKit/Source/wtf/BitVector.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/wtf/BitVector.h
diff --git a/third_party/WebKit/Source/wtf/BitVector.h b/third_party/WebKit/Source/wtf/BitVector.h
index f8eba0be90597a828a510658e2e8360b79ff0fe7..034c33d5f7a1cb053b34273ff58d5f88012665d8 100644
--- a/third_party/WebKit/Source/wtf/BitVector.h
+++ b/third_party/WebKit/Source/wtf/BitVector.h
@@ -48,7 +48,7 @@ class PrintStream;
// used in a manual mode, which is faster (quickSet, quickClear, quickGet,
// ensureSize).
//
-// - Accesses ASSERT that you are within bounds.
+// - Accesses assert that you are within bounds.
//
// - Bits are automatically initialized to zero.
//
@@ -166,7 +166,7 @@ class WTF_EXPORT BitVector {
static size_t byteCount(size_t bitCount) { return (bitCount + 7) >> 3; }
static uintptr_t makeInlineBits(uintptr_t bits) {
- ASSERT(!(bits & (static_cast<uintptr_t>(1) << maxInlineBits())));
+ DCHECK(!(bits & (static_cast<uintptr_t>(1) << maxInlineBits())));
return bits | (static_cast<uintptr_t>(1) << maxInlineBits());
}
« no previous file with comments | « third_party/WebKit/Source/wtf/Atomics.h ('k') | third_party/WebKit/Source/wtf/BitVector.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698