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