From 463a090709ce1251b99cec88d72e0206b6f07799 Mon Sep 17 00:00:00 2001 From: Daniel Bevenius Date: Thu, 18 Jun 2020 06:23:55 +0200 Subject: [PATCH] quic: use Check instead of FromJust in node_quic.cc --- src/quic/node_quic.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/quic/node_quic.cc b/src/quic/node_quic.cc index 9223694643554b..4f1d3e128dd38b 100644 --- a/src/quic/node_quic.cc +++ b/src/quic/node_quic.cc @@ -125,7 +125,7 @@ void Initialize(Local target, #define SET_STATE_TYPEDARRAY(name, field) \ target->Set(context, \ FIXED_ONE_BYTE_STRING(isolate, (name)), \ - (field.GetJSArray())).FromJust() + (field.GetJSArray())).Check() SET_STATE_TYPEDARRAY("sessionConfig", state->quicsessionconfig_buffer); SET_STATE_TYPEDARRAY("http3Config", state->http3config_buffer); #undef SET_STATE_TYPEDARRAY