diff --git a/src/node_perf.cc b/src/node_perf.cc index 8ee805a8382c4e..a4297c21f0fb4e 100644 --- a/src/node_perf.cc +++ b/src/node_perf.cc @@ -89,7 +89,7 @@ void PerformanceEntry::Notify(Environment* env, if (type != NODE_PERFORMANCE_ENTRY_TYPE_INVALID && observers[type]) { node::MakeCallback(env->isolate(), - env->process_object(), + object.As(), env->performance_entry_callback(), 1, &object, node::async_context{0, 0}).ToLocalChecked();