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

Unified Diff: third_party/WebKit/Source/wtf/BitVector.h

Issue 2458003002: Remove ASSERT_WITH_SECURITY_IMPLICATION. (Closed)
Patch Set: Minor formatting fix 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
« no previous file with comments | « third_party/WebKit/Source/wtf/Assertions.h ('k') | third_party/WebKit/Source/wtf/HashTable.h » ('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 b3f6547a975b37670acf60da0f548d378badbdc0..f8eba0be90597a828a510658e2e8360b79ff0fe7 100644
--- a/third_party/WebKit/Source/wtf/BitVector.h
+++ b/third_party/WebKit/Source/wtf/BitVector.h
@@ -103,19 +103,19 @@ class WTF_EXPORT BitVector {
void clearAll();
bool quickGet(size_t bit) const {
- ASSERT_WITH_SECURITY_IMPLICATION(bit < size());
+ SECURITY_DCHECK(bit < size());
return !!(bits()[bit / bitsInPointer()] &
(static_cast<uintptr_t>(1) << (bit & (bitsInPointer() - 1))));
}
void quickSet(size_t bit) {
- ASSERT_WITH_SECURITY_IMPLICATION(bit < size());
+ SECURITY_DCHECK(bit < size());
bits()[bit / bitsInPointer()] |=
(static_cast<uintptr_t>(1) << (bit & (bitsInPointer() - 1)));
}
void quickClear(size_t bit) {
- ASSERT_WITH_SECURITY_IMPLICATION(bit < size());
+ SECURITY_DCHECK(bit < size());
bits()[bit / bitsInPointer()] &=
~(static_cast<uintptr_t>(1) << (bit & (bitsInPointer() - 1)));
}
« no previous file with comments | « third_party/WebKit/Source/wtf/Assertions.h ('k') | third_party/WebKit/Source/wtf/HashTable.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698