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

LibWeb: Use unsigned long long for ReadableStreamBYOBRequest.respond

Now that the IDL generator supports this :^)
This commit is contained in:
Shannon Booth 2023-12-27 21:13:46 +13:00 committed by Andreas Kling
parent e54f272024
commit 99bf986889
3 changed files with 4 additions and 4 deletions

View file

@ -11,6 +11,7 @@
#include <LibWeb/Bindings/PlatformObject.h>
#include <LibWeb/Forward.h>
#include <LibWeb/Streams/ReadableByteStreamController.h>
#include <LibWeb/WebIDL/Types.h>
namespace Web::Streams {
@ -28,7 +29,7 @@ public:
void set_view(JS::GCPtr<WebIDL::ArrayBufferView> value) { m_view = value; }
WebIDL::ExceptionOr<void> respond(u64 bytes_written);
WebIDL::ExceptionOr<void> respond(WebIDL::UnsignedLongLong bytes_written);
private:
explicit ReadableStreamBYOBRequest(JS::Realm&);