Skip to content

Commit 8fff518

Browse files
committed
src: use args.This() in zlib
Refs: #53474
1 parent 3844e7e commit 8fff518

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/node_zlib.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -878,7 +878,7 @@ class ZstdStream final : public CompressionStream<CompressionContext> {
878878
CHECK(args.Length() == 4 &&
879879
"init(params, pledgedSrcSize, writeResult, writeCallback)");
880880
ZstdStream* wrap;
881-
ASSIGN_OR_RETURN_UNWRAP(&wrap, args.Holder());
881+
ASSIGN_OR_RETURN_UNWRAP(&wrap, args.This());
882882

883883
CHECK(args[2]->IsUint32Array());
884884
uint32_t* write_result = reinterpret_cast<uint32_t*>(Buffer::Data(args[2]));

0 commit comments

Comments
 (0)