File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -770,7 +770,7 @@ void Http2Stream::EmitStatistics() {
770770
771771void Http2Session::HasPendingData (const FunctionCallbackInfo<Value>& args) {
772772 Http2Session* session;
773- ASSIGN_OR_RETURN_UNWRAP (&session, args.Holder ());
773+ ASSIGN_OR_RETURN_UNWRAP (&session, args.This ());
774774 args.GetReturnValue ().Set (session->HasPendingData ());
775775}
776776
@@ -3580,7 +3580,7 @@ void Initialize(Local<Object> target,
35803580
35813581void Http2Session::SetGracefulClose (const FunctionCallbackInfo<Value>& args) {
35823582 Http2Session* session;
3583- ASSIGN_OR_RETURN_UNWRAP (&session, args.Holder ());
3583+ ASSIGN_OR_RETURN_UNWRAP (&session, args.This ());
35843584 CHECK_NOT_NULL (session);
35853585 // Set the graceful close flag
35863586 session->SetGracefulCloseInitiated (true );
You can’t perform that action at this time.
0 commit comments