diff options
author | Anna Henningsen <anna@addaleax.net> | 2019-03-08 09:47:45 +0100 |
---|---|---|
committer | Daniel Bevenius <daniel.bevenius@gmail.com> | 2019-03-11 09:32:40 +0100 |
commit | 560466c7738c1b66f2a74381bff41bdd7bde1eef (patch) | |
tree | b3178025cb4fa519b34bb273e987d02d62ec2c24 /src/node_http2.h | |
parent | a445244a0c7e25e9b3dcfa48f622ce51f5815dcd (diff) | |
download | android-node-v8-560466c7738c1b66f2a74381bff41bdd7bde1eef.tar.gz android-node-v8-560466c7738c1b66f2a74381bff41bdd7bde1eef.tar.bz2 android-node-v8-560466c7738c1b66f2a74381bff41bdd7bde1eef.zip |
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 c65da807d0..c5c0ebcc2b 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, |