Skip to content

Commit

Permalink
http2: fix compilation error after V8 update
Browse files Browse the repository at this point in the history
Backport-PR-URL: #14813
Backport-Reviewed-By: Anna Henningsen <[email protected]>
Backport-Reviewed-By: Timothy Gu <[email protected]>

PR-URL: #14239
Reviewed-By: Anna Henningsen <[email protected]>
Reviewed-By: Colin Ihrig <[email protected]>
Reviewed-By: Matteo Collina <[email protected]>
  • Loading branch information
jasnell authored and addaleax committed Aug 14, 2017
1 parent f46c50b commit efd929e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/node_http2.cc
Original file line number Diff line number Diff line change
Expand Up @@ -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>();
Expand Down

0 comments on commit efd929e

Please sign in to comment.