Index: third_party/WebKit/Source/platform/heap/HeapAllocator.cpp |
diff --git a/third_party/WebKit/Source/platform/heap/HeapAllocator.cpp b/third_party/WebKit/Source/platform/heap/HeapAllocator.cpp |
index f8375d619dd0c8f7c9b6d2556a06499ca2f9ca27..2db2d4e6187dddb89082a8be6c97004c69b1dc7f 100644 |
--- a/third_party/WebKit/Source/platform/heap/HeapAllocator.cpp |
+++ b/third_party/WebKit/Source/platform/heap/HeapAllocator.cpp |
@@ -22,7 +22,6 @@ void HeapAllocator::backingFree(void* address) { |
return; |
HeapObjectHeader* header = HeapObjectHeader::fromPayload(address); |
- header->checkHeader(); |
NormalPageArena* arena = static_cast<NormalPage*>(page)->arenaForNormalPage(); |
state->promptlyFreed(header->gcInfoIndex()); |
arena->promptlyFreeObject(header); |
@@ -58,7 +57,6 @@ bool HeapAllocator::backingExpand(void* address, size_t newSize) { |
return false; |
HeapObjectHeader* header = HeapObjectHeader::fromPayload(address); |
- header->checkHeader(); |
NormalPageArena* arena = static_cast<NormalPage*>(page)->arenaForNormalPage(); |
bool succeed = arena->expandObject(header, newSize); |
if (succeed) |
@@ -100,7 +98,6 @@ bool HeapAllocator::backingShrink(void* address, |
return false; |
HeapObjectHeader* header = HeapObjectHeader::fromPayload(address); |
- header->checkHeader(); |
NormalPageArena* arena = static_cast<NormalPage*>(page)->arenaForNormalPage(); |
// We shrink the object only if the shrinking will make a non-small |
// prompt-free block. |