Index: src/bootstrapper.cc |
diff --git a/src/bootstrapper.cc b/src/bootstrapper.cc |
index 7d29218a4532dab950173249e8ee601c3aead4f8..640ba1e9a33785f03c603015db6984292075796c 100644 |
--- a/src/bootstrapper.cc |
+++ b/src/bootstrapper.cc |
@@ -1707,7 +1707,7 @@ Data* SetBuiltinTypedArray(Isolate* isolate, Handle<JSBuiltinsObject> builtins, |
data = reinterpret_cast<Data*>( |
isolate->array_buffer_allocator()->Allocate(byte_length)); |
} |
- Runtime::SetupArrayBuffer(isolate, buffer, is_external, data, byte_length); |
+ JSArrayBuffer::Setup(buffer, isolate, is_external, data, byte_length); |
Handle<JSTypedArray> typed_array = |
isolate->factory()->NewJSTypedArray(type, buffer, 0, num_elements); |