Skip to content

Commit

Permalink
worker: do not use two-arg NewIsolate
Browse files Browse the repository at this point in the history
PR-URL: #29850
Reviewed-By: James M Snell <[email protected]>
Reviewed-By: David Carlier <[email protected]>
Reviewed-By: Anna Henningsen <[email protected]>
Reviewed-By: Colin Ihrig <[email protected]>
Reviewed-By: Ben Noordhuis <[email protected]>
Reviewed-By: Jeremiah Senkpiel <[email protected]>
  • Loading branch information
codebytere authored and BridgeAR committed Oct 9, 2019
1 parent df218ce commit a711304
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/node_worker.cc
Original file line number Diff line number Diff line change
Expand Up @@ -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);

{
Expand Down

0 comments on commit a711304

Please sign in to comment.