chore: bump node to v12.18.0 (master) (#23789)
Co-authored-by: Shelley Vohr <shelley.vohr@gmail.com>
This commit is contained in:
parent
4e66f1b2c6
commit
b665eb6d43
41 changed files with 266 additions and 314 deletions
|
@ -30,9 +30,10 @@ void MicrotasksRunner::DidProcessTask(const base::PendingTask& pending_task) {
|
|||
// handle the checkpoint in the browser process.
|
||||
{
|
||||
auto* node_env = electron::ElectronBrowserMainParts::Get()->node_env();
|
||||
v8::HandleScope scope(isolate_);
|
||||
node::InternalCallbackScope microtasks_scope(
|
||||
node_env->env(), v8::Local<v8::Object>(), {0, 0},
|
||||
node::InternalCallbackScope::kAllowEmptyResource);
|
||||
node_env->env(), v8::Object::New(isolate_), {0, 0},
|
||||
node::InternalCallbackScope::kNoFlags);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue