1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 18:57:45 +00:00

LibWeb: Use u64 for ReadableByteStream offsets instead of u32

These are specified in the IDL as "unsigned long long", which translates
to u64.
This commit is contained in:
Matthew Olsson 2023-04-18 20:05:06 -07:00 committed by Andreas Kling
parent 5fafd82927
commit 42fb847cc8
3 changed files with 12 additions and 12 deletions

View file

@ -23,7 +23,7 @@ struct UnderlyingSource {
JS::Handle<WebIDL::CallbackType> pull;
JS::Handle<WebIDL::CallbackType> cancel;
Optional<ReadableStreamType> type;
Optional<i64> auto_allocate_chunk_size;
Optional<u64> auto_allocate_chunk_size;
static JS::ThrowCompletionOr<UnderlyingSource> from_value(JS::VM&, JS::Value);
};