Index: src/heap/array-buffer-tracker-inl.h |
diff --git a/src/heap/array-buffer-tracker-inl.h b/src/heap/array-buffer-tracker-inl.h |
index 27c593d0f073e9d35e7b1a97da65da5473b64aef..f5bdead89a5d74f7b791d6ba170ab2bbb5474ac0 100644 |
--- a/src/heap/array-buffer-tracker-inl.h |
+++ b/src/heap/array-buffer-tracker-inl.h |
@@ -14,7 +14,7 @@ void ArrayBufferTracker::RegisterNew(Heap* heap, JSArrayBuffer* buffer) { |
void* data = buffer->backing_store(); |
if (!data) return; |
- size_t length = NumberToSize(heap->isolate(), buffer->byte_length()); |
+ size_t length = NumberToSize(buffer->byte_length()); |
Page* page = Page::FromAddress(buffer->address()); |
{ |
base::LockGuard<base::Mutex> guard(page->mutex()); |