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() {
770
770
771
771
void Http2Session::HasPendingData (const FunctionCallbackInfo<Value>& args) {
772
772
Http2Session* session;
773
- ASSIGN_OR_RETURN_UNWRAP (&session, args.Holder ());
773
+ ASSIGN_OR_RETURN_UNWRAP (&session, args.This ());
774
774
args.GetReturnValue ().Set (session->HasPendingData ());
775
775
}
776
776
@@ -3580,7 +3580,7 @@ void Initialize(Local<Object> target,
3580
3580
3581
3581
void Http2Session::SetGracefulClose (const FunctionCallbackInfo<Value>& args) {
3582
3582
Http2Session* session;
3583
- ASSIGN_OR_RETURN_UNWRAP (&session, args.Holder ());
3583
+ ASSIGN_OR_RETURN_UNWRAP (&session, args.This ());
3584
3584
CHECK_NOT_NULL (session);
3585
3585
// Set the graceful close flag
3586
3586
session->SetGracefulCloseInitiated (true );
You can’t perform that action at this time.
0 commit comments