Index: Source/platform/heap/MarkingVisitorImpl.h |
diff --git a/Source/platform/heap/MarkingVisitorImpl.h b/Source/platform/heap/MarkingVisitorImpl.h |
index 7e2f5133a9766a87a198e2425093ebf016def19f..4e14ba1dfd7f6291cd560b929fc91053895c50c3 100644 |
--- a/Source/platform/heap/MarkingVisitorImpl.h |
+++ b/Source/platform/heap/MarkingVisitorImpl.h |
@@ -31,7 +31,7 @@ protected: |
// when called within. |
ASSERT(!ThreadState::current()->isInGC() || Heap::containedInHeapOrOrphanedPage(header)); |
- if (toDerived()->checkSkipForObjectInTerminatingThreadHeap(objectPointer)) |
+ if (!toDerived()->shouldMarkObject(objectPointer)) |
return; |
// If you hit this ASSERT, it means that there is a dangling pointer |
@@ -93,7 +93,7 @@ protected: |
{ |
if (!objectPointer) |
return false; |
- if (toDerived()->checkSkipForObjectInTerminatingThreadHeap(objectPointer)) |
+ if (!toDerived()->shouldMarkObject(objectPointer)) |
return false; |
#if ENABLE(ASSERT) |
if (isMarked(objectPointer)) |
@@ -117,7 +117,7 @@ protected: |
{ \ |
if (!objectPointer) \ |
return false; \ |
- if (toDerived()->checkSkipForObjectInTerminatingThreadHeap(objectPointer)) \ |
+ if (!toDerived()->shouldMarkObject(objectPointer)) \ |
return false; \ |
if (isMarked(objectPointer)) \ |
return false; \ |
@@ -130,7 +130,7 @@ protected: |
{ \ |
if (!objectPointer) \ |
return false; \ |
- if (toDerived()->checkSkipForObjectInTerminatingThreadHeap(objectPointer)) \ |
+ if (!toDerived()->shouldMarkObject(objectPointer)) \ |
return false; \ |
HeapObjectHeader* header = HeapObjectHeader::fromPayload(objectPointer); \ |
if (header->isMarked()) \ |