From efd929e402c0031fe0c1d09fbd65cc2aa59d9d1e Mon Sep 17 00:00:00 2001 From: James M Snell Date: Thu, 3 Aug 2017 12:55:47 -0700 Subject: [PATCH] http2: fix compilation error after V8 update Backport-PR-URL: https://github.com/nodejs/node/pull/14813 Backport-Reviewed-By: Anna Henningsen Backport-Reviewed-By: Timothy Gu PR-URL: https://github.com/nodejs/node/pull/14239 Reviewed-By: Anna Henningsen Reviewed-By: Colin Ihrig Reviewed-By: Matteo Collina --- src/node_http2.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/node_http2.cc b/src/node_http2.cc index 12a6aeca1524a6..9bde7b4b5670f7 100755 --- a/src/node_http2.cc +++ b/src/node_http2.cc @@ -868,7 +868,7 @@ void Http2Session::OnTrailers(Nghttp2Stream* stream, }; Local ret = MakeCallback(env()->ontrailers_string(), - arraysize(argv), argv); + arraysize(argv), argv).ToLocalChecked(); if (!ret.IsEmpty()) { if (ret->IsArray()) { Local headers = ret.As();