diff --git a/src/node_buffer.cc b/src/node_buffer.cc index ccc338f94174aa..e602d5618eb7bc 100644 --- a/src/node_buffer.cc +++ b/src/node_buffer.cc @@ -403,11 +403,6 @@ MaybeLocal New(Environment* env, } Local ab = ArrayBuffer::New(env->isolate(), data, length); - // `Neuter()`ing is required here to prevent materialization of the backing - // store in v8. `nullptr` buffers are not writable, so this is semantically - // correct. - if (data == nullptr) - ab->Neuter(); MaybeLocal ui = Buffer::New(env, ab, 0, length); CallbackInfo::New(env->isolate(), ab, callback, data, hint);