Index: Source/platform/heap/ThreadState.h |
diff --git a/Source/platform/heap/ThreadState.h b/Source/platform/heap/ThreadState.h |
index 2d527207732ff80c2e2629f7b5b27581032ef8d2..9bdb5a769386902407963e368c1702fb8e835b0e 100644 |
--- a/Source/platform/heap/ThreadState.h |
+++ b/Source/platform/heap/ThreadState.h |
@@ -51,6 +51,7 @@ |
namespace blink { |
+class BaseHeap; |
class BaseHeapPage; |
class CallbackStack; |
struct GCInfo; |
@@ -185,7 +186,6 @@ |
InlineVectorBackingHeap, |
HashTableBackingHeap, |
FOR_EACH_TYPED_HEAP(TypedHeapEnumName) |
- LargeObjectHeap, |
// Values used for iteration of heap segments. |
NumberOfHeaps, |
}; |
@@ -480,8 +480,8 @@ |
// |
// The heap is split into multiple heap parts based on object |
// types. To get the index for a given type, use |
- // HeapIndexTrait<Type>::index. |
- ThreadHeap* heap(int heapIndex) const { return m_heaps[heapIndex]; } |
+ // HeapTypeTrait<Type>::index. |
+ ThreadHeap* heap(int index) const { return m_heaps[index]; } |
#if ENABLE(ASSERT) || ENABLE(GC_PROFILING) |
// Infrastructure to determine if an address is within one of the |