Index: src/heap/objects-visiting-inl.h |
diff --git a/src/heap/objects-visiting-inl.h b/src/heap/objects-visiting-inl.h |
index 433fc6deab3e0efc7cb921501d7757d1c42a2688..fa90be5c40b1351959cc392604419655f063759d 100644 |
--- a/src/heap/objects-visiting-inl.h |
+++ b/src/heap/objects-visiting-inl.h |
@@ -508,7 +508,7 @@ void StaticMarkingVisitor<StaticVisitor>::VisitJSArrayBuffer( |
HeapObject::RawField(object, JSArrayBuffer::BodyDescriptor::kStartOffset), |
HeapObject::RawField(object, JSArrayBuffer::kSizeWithInternalFields)); |
if (!JSArrayBuffer::cast(object)->is_external()) { |
- heap->RegisterLiveArrayBuffer(heap->InNewSpace(object), |
+ heap->RegisterLiveArrayBuffer(false, |
JSArrayBuffer::cast(object)->backing_store()); |
} |
} |