| Index: third_party/WebKit/Source/wtf/HashTable.h
|
| diff --git a/third_party/WebKit/Source/wtf/HashTable.h b/third_party/WebKit/Source/wtf/HashTable.h
|
| index 155ad7346c85680c25b40ad52e1a724e82b9ef4f..aad25e7c29840c7cec0016c97746ae89fe419eee 100644
|
| --- a/third_party/WebKit/Source/wtf/HashTable.h
|
| +++ b/third_party/WebKit/Source/wtf/HashTable.h
|
| @@ -631,7 +631,7 @@ void HashTable<Key, Value, Extractor, HashFunctions, Traits, KeyTraits, Allocato
|
| newCapacity = KeyTraits::minimumTableSize;
|
|
|
| if (newCapacity > capacity()) {
|
| - CHECK(!static_cast<int>(newCapacity >> 31)); // HashTable capacity should not overflow 32bit int.
|
| + RELEASE_ASSERT(!static_cast<int>(newCapacity >> 31)); // HashTable capacity should not overflow 32bit int.
|
| rehash(newCapacity, 0);
|
| }
|
| }
|
| @@ -1057,7 +1057,7 @@ Value* HashTable<Key, Value, Extractor, HashFunctions, Traits, KeyTraits, Alloca
|
| newSize = m_tableSize;
|
| } else {
|
| newSize = m_tableSize * 2;
|
| - CHECK_GT(newSize, m_tableSize);
|
| + RELEASE_ASSERT(newSize > m_tableSize);
|
| }
|
|
|
| return rehash(newSize, entry);
|
|
|