mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 16:07:47 +00:00
LibWeb: Add some const overloads in ReadableByteStreamController
This commit is contained in:
parent
26e393fbbc
commit
8d4095d00e
1 changed files with 2 additions and 0 deletions
|
@ -76,6 +76,7 @@ class ReadableByteStreamController : public Bindings::PlatformObject {
|
|||
public:
|
||||
virtual ~ReadableByteStreamController() override = default;
|
||||
|
||||
JS::GCPtr<ReadableStreamBYOBRequest const> byob_request() const { return m_byob_request; }
|
||||
JS::GCPtr<ReadableStreamBYOBRequest> byob_request() { return m_byob_request; }
|
||||
void set_byob_request(JS::GCPtr<ReadableStreamBYOBRequest> request) { m_byob_request = request; }
|
||||
|
||||
|
@ -102,6 +103,7 @@ public:
|
|||
void set_pulling(bool value) { m_pulling = value; }
|
||||
|
||||
SinglyLinkedList<PullIntoDescriptor>& pending_pull_intos() { return m_pending_pull_intos; }
|
||||
SinglyLinkedList<PullIntoDescriptor> const& pending_pull_intos() const { return m_pending_pull_intos; }
|
||||
|
||||
SinglyLinkedList<ReadableByteStreamQueueEntry>& queue() { return m_queue; }
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue