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
Notes:
sideshowbarker
2024-07-16 21:42:29 +09:00
Author: https://github.com/shannonbooth Commit: https://github.com/SerenityOS/serenity/commit/3a6339f3dd Pull-request: https://github.com/SerenityOS/serenity/pull/21008 Reviewed-by: https://github.com/ADKaster ✅ Reviewed-by: https://github.com/AtkinsSJ
1 changed files with 2 additions and 2 deletions
|
@ -49,6 +49,8 @@ public:
|
|||
|
||||
ReadonlyBytes bytes() const { return m_byte_buffer.bytes(); }
|
||||
|
||||
WebIDL::ExceptionOr<JS::NonnullGCPtr<Streams::ReadableStream>> get_stream();
|
||||
|
||||
protected:
|
||||
Blob(JS::Realm&, ByteBuffer, String type);
|
||||
Blob(JS::Realm&, ByteBuffer);
|
||||
|
@ -56,8 +58,6 @@ protected:
|
|||
virtual void initialize(JS::Realm&) override;
|
||||
|
||||
private:
|
||||
WebIDL::ExceptionOr<JS::NonnullGCPtr<Streams::ReadableStream>> get_stream();
|
||||
|
||||
explicit Blob(JS::Realm&);
|
||||
|
||||
ByteBuffer m_byte_buffer {};
|
||||
|
|
Loading…
Add table
Reference in a new issue