Index: src/incremental-marking.cc |
diff --git a/src/incremental-marking.cc b/src/incremental-marking.cc |
index 17e79fde89db7c366876707f1f227d0e9a2b40f0..df0f14a74cef8363e51c98bd3bdc8d2e60b44309 100644 |
--- a/src/incremental-marking.cc |
+++ b/src/incremental-marking.cc |
@@ -273,11 +273,12 @@ class IncrementalMarkingMarkingVisitor |
VisitNativeContext(map, context); |
} |
- static void VisitJSWeakMap(Map* map, HeapObject* object) { |
+ static void VisitWeakCollection(Map* map, HeapObject* object) { |
Heap* heap = map->GetHeap(); |
VisitPointers(heap, |
- HeapObject::RawField(object, JSWeakMap::kPropertiesOffset), |
- HeapObject::RawField(object, JSWeakMap::kSize)); |
+ HeapObject::RawField(object, |
+ JSWeakCollection::kPropertiesOffset), |
+ HeapObject::RawField(object, JSWeakCollection::kSize)); |
} |
static void BeforeVisitingSharedFunctionInfo(HeapObject* object) {} |