| Index: src/bootstrapper.cc
|
| diff --git a/src/bootstrapper.cc b/src/bootstrapper.cc
|
| index 1658d646182e674bd04275a693bf87d7f7fd7219..2c5e9a82a88fe575730ded75b7d1df4284b461f7 100644
|
| --- a/src/bootstrapper.cc
|
| +++ b/src/bootstrapper.cc
|
| @@ -1606,7 +1606,7 @@ Data* SetBuiltinTypedArray(Isolate* isolate, Handle<JSBuiltinsObject> builtins,
|
| bool is_external = data != nullptr;
|
| if (!is_external) {
|
| data = reinterpret_cast<Data*>(
|
| - V8::ArrayBufferAllocator()->Allocate(byte_length));
|
| + isolate->array_buffer_allocator()->Allocate(byte_length));
|
| }
|
| Runtime::SetupArrayBuffer(isolate, buffer, is_external, data, byte_length);
|
|
|
|
|