Chromium Code Reviews| Index: third_party/WebKit/Source/wtf/BitArray.h |
| diff --git a/third_party/WebKit/Source/wtf/BitArray.h b/third_party/WebKit/Source/wtf/BitArray.h |
| index 9a9304f1c589046f26c2895f7e673c5bfc909c65..e95d8ee1c3d3cd6cb26c78dbf4480c4e038a544d 100644 |
| --- a/third_party/WebKit/Source/wtf/BitArray.h |
| +++ b/third_party/WebKit/Source/wtf/BitArray.h |
| @@ -43,19 +43,19 @@ public: |
| void set(unsigned index) |
| { |
| - RELEASE_ASSERT(index < arraySize); |
| + CHECK(index < arraySize); |
|
Yuta Kitamura
2016/03/30 03:55:17
I think CHECK_LT is more suitable.
The same appli
|
| m_data[index / 8] |= 1 << (index & 7); |
| } |
| void clear(unsigned index) |
| { |
| - RELEASE_ASSERT(index < arraySize); |
| + CHECK(index < arraySize); |
| m_data[index / 8] &= ~(1 << (index & 7)); |
| } |
| bool get(unsigned index) const |
| { |
| - RELEASE_ASSERT(index < arraySize); |
| + CHECK(index < arraySize); |
| return !!(m_data[index / 8] & (1 << (index & 7))); |
| } |