Index: third_party/WebKit/Source/platform/heap/HeapPage.cpp |
diff --git a/third_party/WebKit/Source/platform/heap/HeapPage.cpp b/third_party/WebKit/Source/platform/heap/HeapPage.cpp |
index e9dcbe158cc2575f8f7b60b7ee480973c5e0c325..5fb397c16b5da9ff6c6821be1bd7289b3331cf0a 100644 |
--- a/third_party/WebKit/Source/platform/heap/HeapPage.cpp |
+++ b/third_party/WebKit/Source/platform/heap/HeapPage.cpp |
@@ -98,6 +98,7 @@ void HeapObjectHeader::zapMagic() |
void HeapObjectHeader::finalize(Address object, size_t objectSize) |
{ |
+ HeapAllocHooks::freeHookIfEnabled(object); |
const GCInfo* gcInfo = Heap::gcInfo(gcInfoIndex()); |
if (gcInfo->hasFinalizer()) |
gcInfo->m_finalize(object); |