mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 00:47:45 +00:00
LibWeb: Mark Blob::get_stream as public
This algorithm may be called from outside of Blob.
This commit is contained in:
parent
e123492470
commit
3a6339f3dd
1 changed files with 2 additions and 2 deletions
|
@ -49,6 +49,8 @@ public:
|
||||||
|
|
||||||
ReadonlyBytes bytes() const { return m_byte_buffer.bytes(); }
|
ReadonlyBytes bytes() const { return m_byte_buffer.bytes(); }
|
||||||
|
|
||||||
|
WebIDL::ExceptionOr<JS::NonnullGCPtr<Streams::ReadableStream>> get_stream();
|
||||||
|
|
||||||
protected:
|
protected:
|
||||||
Blob(JS::Realm&, ByteBuffer, String type);
|
Blob(JS::Realm&, ByteBuffer, String type);
|
||||||
Blob(JS::Realm&, ByteBuffer);
|
Blob(JS::Realm&, ByteBuffer);
|
||||||
|
@ -56,8 +58,6 @@ protected:
|
||||||
virtual void initialize(JS::Realm&) override;
|
virtual void initialize(JS::Realm&) override;
|
||||||
|
|
||||||
private:
|
private:
|
||||||
WebIDL::ExceptionOr<JS::NonnullGCPtr<Streams::ReadableStream>> get_stream();
|
|
||||||
|
|
||||||
explicit Blob(JS::Realm&);
|
explicit Blob(JS::Realm&);
|
||||||
|
|
||||||
ByteBuffer m_byte_buffer {};
|
ByteBuffer m_byte_buffer {};
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue