Index: third_party/WebKit/Source/platform/heap/TraceTraits.h |
diff --git a/third_party/WebKit/Source/platform/heap/TraceTraits.h b/third_party/WebKit/Source/platform/heap/TraceTraits.h |
index de42c5633c37f589ce52f0088b5e1594298b9c0f..8f4d63684f074e271cf828717f1f40a88e618a93 100644 |
--- a/third_party/WebKit/Source/platform/heap/TraceTraits.h |
+++ b/third_party/WebKit/Source/platform/heap/TraceTraits.h |
@@ -207,7 +207,7 @@ class TraceTrait { |
static_assert(!NeedsAdjustAndMark<T>::value, |
"wrapper tracing is not supported within mixins"); |
#if DCHECK_IS_ON() |
- HeapObjectHeader::fromPayload(t)->checkHeader(); |
+ HeapObjectHeader::checkFromPayload(t); |
#endif |
return reinterpret_cast<const T*>(t); |
} |
@@ -509,7 +509,6 @@ struct TraceInCollectionTrait<NoWeakHandlingInCollections, |
T* array = reinterpret_cast<T*>(self); |
blink::HeapObjectHeader* header = |
blink::HeapObjectHeader::fromPayload(self); |
- header->checkHeader(); |
// Use the payload size as recorded by the heap to determine how many |
// elements to trace. |
size_t length = header->payloadSize() / sizeof(T); |
@@ -557,7 +556,6 @@ struct TraceInCollectionTrait<NoWeakHandlingInCollections, |
Value* array = reinterpret_cast<Value*>(self); |
blink::HeapObjectHeader* header = |
blink::HeapObjectHeader::fromPayload(self); |
- header->checkHeader(); |
// Use the payload size as recorded by the heap to determine how many |
// elements to trace. |
size_t length = header->payloadSize() / sizeof(Value); |
@@ -611,7 +609,6 @@ struct TraceInCollectionTrait< |
Node** array = reinterpret_cast<Node**>(self); |
blink::HeapObjectHeader* header = |
blink::HeapObjectHeader::fromPayload(self); |
- header->checkHeader(); |
size_t length = header->payloadSize() / sizeof(Node*); |
for (size_t i = 0; i < length; ++i) { |
if (!HashTableHelper<Node*, typename Table::ExtractorType, |