Index: src/heap/objects-visiting-inl.h |
diff --git a/src/heap/objects-visiting-inl.h b/src/heap/objects-visiting-inl.h |
index 01dd3797753076ab400d504afcfb18c792356315..23166495606b7317e20b017960c4bd42393969bd 100644 |
--- a/src/heap/objects-visiting-inl.h |
+++ b/src/heap/objects-visiting-inl.h |
@@ -105,11 +105,6 @@ int StaticNewSpaceVisitor<StaticVisitor>::VisitJSArrayBuffer( |
Map* map, HeapObject* object) { |
typedef FlexibleBodyVisitor<StaticVisitor, JSArrayBuffer::BodyDescriptor, int> |
JSArrayBufferBodyVisitor; |
- |
- if (!JSArrayBuffer::cast(object)->is_external()) { |
- Heap* heap = map->GetHeap(); |
- heap->array_buffer_tracker()->MarkLive(JSArrayBuffer::cast(object)); |
- } |
return JSArrayBufferBodyVisitor::Visit(map, object); |
} |