mirror of
https://github.com/electron/electron.git
synced 2026-01-27 16:28:23 -05:00
Fix deprecated node::MakeCallback call
This commit is contained in:
@@ -21,7 +21,7 @@ v8::Local<v8::Value> 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
|
||||
|
||||
Reference in New Issue
Block a user