Index: src/bootstrapper.cc |
diff --git a/src/bootstrapper.cc b/src/bootstrapper.cc |
index fb89452bdba66b97a4c8d457656917a24014e9b8..13ee629c659082c9eaecc327ae221d55fc75f177 100644 |
--- a/src/bootstrapper.cc |
+++ b/src/bootstrapper.cc |
@@ -1322,8 +1322,7 @@ void Genesis::InitializeExperimentalGlobal() { |
Handle<JSFunction> array_buffer_fun = |
InstallFunction( |
global, "ArrayBuffer", JS_ARRAY_BUFFER_TYPE, |
- JSArrayBuffer::kSize + |
- v8::ArrayBuffer::kInternalFieldCount * kPointerSize, |
+ JSArrayBuffer::kSizeWithInternalFields, |
isolate()->initial_object_prototype(), |
Builtins::kIllegal, true, true); |
native_context()->set_array_buffer_fun(*array_buffer_fun); |