mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 14:48:14 +00:00
LibWeb: Make ReadableStreamAddReadRequest take a NonnullGCPtr
Make it more obvious in the function signature that this function will be taking a GC ref to a ReadRequest by appending it to the ReadableStreams pending read requests.
This commit is contained in:
parent
5ef41dca53
commit
f27e76b0b7
2 changed files with 2 additions and 2 deletions
|
@ -37,7 +37,7 @@ WebIDL::ExceptionOr<double> extract_high_water_mark(QueuingStrategy const&, doub
|
|||
|
||||
void readable_stream_close(ReadableStream&);
|
||||
void readable_stream_error(ReadableStream&, JS::Value error);
|
||||
void readable_stream_add_read_request(ReadableStream&, ReadRequest&);
|
||||
void readable_stream_add_read_request(ReadableStream&, JS::NonnullGCPtr<ReadRequest>);
|
||||
WebIDL::ExceptionOr<JS::NonnullGCPtr<WebIDL::Promise>> readable_stream_cancel(ReadableStream&, JS::Value reason);
|
||||
void readable_stream_fulfill_read_into_request(ReadableStream&, JS::Value chunk, bool done);
|
||||
void readable_stream_fulfill_read_request(ReadableStream&, JS::Value chunk, bool done);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue