Index: src/runtime.cc |
=================================================================== |
--- src/runtime.cc (revision 15840) |
+++ src/runtime.cc (working copy) |
@@ -675,7 +675,8 @@ |
isolate->heap()->AdjustAmountOfExternalAllocatedMemory( |
-static_cast<intptr_t>(allocated_length)); |
CHECK(V8::ArrayBufferAllocator() != NULL); |
- V8::ArrayBufferAllocator()->Free(phantom_array_buffer->backing_store()); |
+ V8::ArrayBufferAllocator()->Free(phantom_array_buffer->backing_store(), |
+ allocated_length); |
} |