Index: src/profiler/heap-snapshot-generator.cc |
diff --git a/src/profiler/heap-snapshot-generator.cc b/src/profiler/heap-snapshot-generator.cc |
index 76ce5e6226b566818f091a78c2489e088772d11b..9273168f808b3d5c16b21cc0fb0656eeeed70f4a 100644 |
--- a/src/profiler/heap-snapshot-generator.cc |
+++ b/src/profiler/heap-snapshot-generator.cc |
@@ -1521,7 +1521,7 @@ void V8HeapExplorer::ExtractJSArrayBufferReferences( |
// Setup a reference to a native memory backing_store object. |
if (!buffer->backing_store()) |
return; |
- size_t data_size = NumberToSize(heap_->isolate(), buffer->byte_length()); |
+ size_t data_size = NumberToSize(buffer->byte_length()); |
JSArrayBufferDataEntryAllocator allocator(data_size, this); |
HeapEntry* data_entry = |
filler_->FindOrAddEntry(buffer->backing_store(), &allocator); |