| Index: third_party/WebKit/Source/wtf/PartitionAllocator.h
|
| diff --git a/third_party/WebKit/Source/wtf/PartitionAllocator.h b/third_party/WebKit/Source/wtf/PartitionAllocator.h
|
| index 37cad840b94172e95a19b2eb9399b4aea5f50482..e3b57e5e77e4392920865c5418ecfe60aa80f3a5 100644
|
| --- a/third_party/WebKit/Source/wtf/PartitionAllocator.h
|
| +++ b/third_party/WebKit/Source/wtf/PartitionAllocator.h
|
| @@ -54,7 +54,7 @@ public:
|
| template<typename T>
|
| static size_t quantizedSize(size_t count)
|
| {
|
| - CHECK_LE(count, kGenericMaxDirectMapped / sizeof(T));
|
| + RELEASE_ASSERT(count <= kGenericMaxDirectMapped / sizeof(T));
|
| return partitionAllocActualSize(Partitions::bufferPartition(), count * sizeof(T));
|
| }
|
| template <typename T>
|
|
|