mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-07-28 19:59:17 +00:00
LibWeb: Use doubles for Stream's high_water_mark and queue_total_size
This matches the IDL types
This commit is contained in:
parent
f63d027b0b
commit
dd65d60069
Notes:
sideshowbarker
2024-07-17 01:13:25 +09:00
Author: https://github.com/mattco98
Commit: dd65d60069
Pull-request: https://github.com/SerenityOS/serenity/pull/18539
Reviewed-by: https://github.com/awesomekling
Reviewed-by: https://github.com/trflynn89
5 changed files with 17 additions and 17 deletions
|
@ -22,7 +22,7 @@ ReadableStreamDefaultController::ReadableStreamDefaultController(JS::Realm& real
|
|||
}
|
||||
|
||||
// https://streams.spec.whatwg.org/#rs-default-controller-desired-size
|
||||
Optional<float> ReadableStreamDefaultController::desired_size()
|
||||
Optional<double> ReadableStreamDefaultController::desired_size()
|
||||
{
|
||||
// 1. Return ! ReadableStreamDefaultControllerGetDesiredSize(this).
|
||||
return readable_stream_default_controller_get_desired_size(*this);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue