| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
1 parent b0256dd commit bf9e17e
1 file 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); | |
| Back | FazBrowse Home | New Git URL |
0 commit comments