diff options
author | Shelley Vohr <shelley.vohr@gmail.com> | 2019-10-06 12:40:24 +0300 |
---|---|---|
committer | Rich Trott <rtrott@gmail.com> | 2019-10-09 08:56:34 +0300 |
commit | 6db45bf7def22eedfd95dac95713e850c366b169 (patch) | |
tree | 1c0de464715cd5a2206d6de025973a61b8914377 /src/node_worker.cc | |
parent | c0437d2633fb523fbc97deb3f1731bbefa4a2e90 (diff) |
worker: do not use two-arg NewIsolate
PR-URL: https://github.com/nodejs/node/pull/29850
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: David Carlier <devnexen@gmail.com>
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
Reviewed-By: Jeremiah Senkpiel <fishrock123@rocketmail.com>
Diffstat (limited to 'src/node_worker.cc')
-rw-r--r-- | src/node_worker.cc | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/node_worker.cc b/src/node_worker.cc index 11e44a92757..3dce5e25980 100644 --- a/src/node_worker.cc +++ b/src/node_worker.cc @@ -116,7 +116,10 @@ class WorkerThreadData { : w_(w) { CHECK_EQ(uv_loop_init(&loop_), 0); - Isolate* isolate = NewIsolate(w->array_buffer_allocator_.get(), &loop_); + Isolate* isolate = NewIsolate( + w->array_buffer_allocator_.get(), + &loop_, + w->platform_); CHECK_NOT_NULL(isolate); { |