| Index: third_party/WebKit/Source/wtf/allocator/PartitionAlloc.h
|
| diff --git a/third_party/WebKit/Source/wtf/allocator/PartitionAlloc.h b/third_party/WebKit/Source/wtf/allocator/PartitionAlloc.h
|
| index 67f93aa379065c55d3c21ac86752c4f7aa17d582..2c7d799913e27ed9f960dfb7e42160c366a70176 100644
|
| --- a/third_party/WebKit/Source/wtf/allocator/PartitionAlloc.h
|
| +++ b/third_party/WebKit/Source/wtf/allocator/PartitionAlloc.h
|
| @@ -769,8 +769,8 @@ ALWAYS_INLINE void partitionFreeWithPage(void* ptr, PartitionPage* page) {
|
| ASSERT(!freelistHead || partitionPointerIsValid(freelistHead));
|
| SECURITY_CHECK(ptr != freelistHead); // Catches an immediate double free.
|
| // Look for double free one level deeper in debug.
|
| - ASSERT_WITH_SECURITY_IMPLICATION(
|
| - !freelistHead || ptr != partitionFreelistMask(freelistHead->next));
|
| + SECURITY_DCHECK(!freelistHead ||
|
| + ptr != partitionFreelistMask(freelistHead->next));
|
| PartitionFreelistEntry* entry = static_cast<PartitionFreelistEntry*>(ptr);
|
| entry->next = partitionFreelistMask(freelistHead);
|
| page->freelistHead = entry;
|
|
|