mirror of
https://github.com/nodejs/node.git
synced 2026-11-21 12:59:16 -05:00
http2: fix compilation error after V8 update
Backport-PR-URL: https://github.com/nodejs/node/pull/14813 Backport-Reviewed-By: Anna Henningsen <anna@addaleax.net> Backport-Reviewed-By: Timothy Gu <timothygu99@gmail.com> PR-URL: https://github.com/nodejs/node/pull/14239 Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
This commit is contained in:
1 parent
f46c50b3e2
commit
efd929e402
1 file changed
+1
-1
+1
-1
@@ -868,7 +868,7 @@ void Http2Session::OnTrailers(Nghttp2Stream* stream,
|
||||
};
|
||||
|
||||
Local<Value> ret = MakeCallback(env()->ontrailers_string(),
|
||||
arraysize(argv), argv);
|
||||
arraysize(argv), argv).ToLocalChecked();
|
||||
if (!ret.IsEmpty()) {
|
||||
if (ret->IsArray()) {
|
||||
Local<Array> headers = ret.As<Array>();
|
||||
|
||||
Reference in new issue
Block a user