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