diff --git a/atom/common/api/event_emitter_caller.cc b/atom/common/api/event_emitter_caller.cc index bf60834a9b68..50d586680d50 100644 --- a/atom/common/api/event_emitter_caller.cc +++ b/atom/common/api/event_emitter_caller.cc @@ -21,7 +21,7 @@ v8::Local CallMethodWithArgs(v8::Isolate* isolate, // Use node::MakeCallback to call the callback, and it will also run pending // tasks in Node.js. return node::MakeCallback(isolate, obj, method, args->size(), &args->front(), - 0, 0).ToLocalChecked(); + {0, 0}).ToLocalChecked(); } } // namespace internal