| 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 1930eb03f2e42418977c19ce812b90a0ee4d59f9..ae724df7649910596a0c6d1546e86562b8b8101d 100644
|
| --- a/third_party/WebKit/Source/wtf/HashTable.h
|
| +++ b/third_party/WebKit/Source/wtf/HashTable.h
|
| @@ -629,7 +629,7 @@ void HashTable<Key, Value, Extractor, HashFunctions, Traits, KeyTraits, Allocato
|
| newCapacity = KeyTraits::minimumTableSize;
|
|
|
| if (newCapacity > capacity()) {
|
| - RELEASE_ASSERT(!static_cast<int>(newCapacity >> 31)); // HashTable capacity should not overflow 32bit int.
|
| + CHECK(!static_cast<int>(newCapacity >> 31)); // HashTable capacity should not overflow 32bit int.
|
| rehash(newCapacity, 0);
|
| }
|
| }
|
| @@ -1053,7 +1053,7 @@ Value* HashTable<Key, Value, Extractor, HashFunctions, Traits, KeyTraits, Alloca
|
| newSize = m_tableSize;
|
| } else {
|
| newSize = m_tableSize * 2;
|
| - RELEASE_ASSERT(newSize > m_tableSize);
|
| + CHECK_GT(newSize, m_tableSize);
|
| }
|
|
|
| return rehash(newSize, entry);
|
|
|