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 @@ -768,7 +768,7 @@ void Http2Stream::EmitStatistics() {
768768
769769void Http2Session::HasPendingData (const FunctionCallbackInfo<Value>& args) {
770770 Http2Session* session;
771- ASSIGN_OR_RETURN_UNWRAP (&session, args.Holder ());
771+ ASSIGN_OR_RETURN_UNWRAP (&session, args.This ());
772772 args.GetReturnValue ().Set (session->HasPendingData ());
773773}
774774
@@ -3578,7 +3578,7 @@ void Initialize(Local<Object> target,
35783578
35793579void Http2Session::SetGracefulClose (const FunctionCallbackInfo<Value>& args) {
35803580 Http2Session* session;
3581- ASSIGN_OR_RETURN_UNWRAP (&session, args.Holder ());
3581+ ASSIGN_OR_RETURN_UNWRAP (&session, args.This ());
35823582 CHECK_NOT_NULL (session);
35833583 // Set the graceful close flag
35843584 session->SetGracefulCloseInitiated (true );
You can’t perform that action at this time.
0 commit comments