diff --git a/src/node_buffer.cc b/src/node_buffer.cc index 2f4a4c66619e70..4c81149f25c4ce 100644 --- a/src/node_buffer.cc +++ b/src/node_buffer.cc @@ -402,11 +402,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);