diff --git a/src/node.cc b/src/node.cc index cb36654b75e3a1..a80cf4452cceb0 100644 --- a/src/node.cc +++ b/src/node.cc @@ -1281,7 +1281,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(); } } // anonymous namespace