diff options
author | Anna Henningsen <anna@addaleax.net> | 2019-03-08 11:47:45 +0300 |
---|---|---|
committer | Daniel Bevenius <daniel.bevenius@gmail.com> | 2019-03-11 11:32:40 +0300 |
commit | 560466c7738c1b66f2a74381bff41bdd7bde1eef (patch) | |
tree | b3178025cb4fa519b34bb273e987d02d62ec2c24 /src/node_http2.h | |
parent | a445244a0c7e25e9b3dcfa48f622ce51f5815dcd (diff) |
lib,src: remove usage of _externalStream
Since 4697e1b0d792f50863bbbcad25a95b84e6746501, it is no longer
necessary to use `v8::External`s to pass `StreamBase` instances
to native functions.
PR-URL: https://github.com/nodejs/node/pull/26510
Refs: https://github.com/nodejs/node/pull/25142
Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
Reviewed-By: James M Snell <jasnell@gmail.com>
Diffstat (limited to 'src/node_http2.h')
-rw-r--r-- | src/node_http2.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/node_http2.h b/src/node_http2.h index c65da807d0c..c5c0ebcc2b0 100644 --- a/src/node_http2.h +++ b/src/node_http2.h @@ -696,7 +696,7 @@ class Http2Session : public AsyncWrap, public StreamListener { void Close(uint32_t code = NGHTTP2_NO_ERROR, bool socket_closed = false); - void Consume(Local<External> external); + void Consume(Local<Object> stream); void Goaway(uint32_t code, int32_t lastStreamID, const uint8_t* data, size_t len); void AltSvc(int32_t id, |