diff --git a/src/node.cc b/src/node.cc index 984c228205378d..33d97a0fcc8664 100644 --- a/src/node.cc +++ b/src/node.cc @@ -1230,7 +1230,7 @@ void SetupPromises(const FunctionCallbackInfo& args) { env->process_object()->Delete( env->context(), - FIXED_ONE_BYTE_STRING(args.GetIsolate(), "_setupPromises")).FromJust(); + FIXED_ONE_BYTE_STRING(isolate, "_setupPromises")).FromJust(); }