LibWeb: Mark Blob::get_stream as public

This algorithm may be called from outside of Blob.
This commit is contained in:
Shannon Booth 2023-09-09 13:27:22 +12:00 committed by Andrew Kaster
parent e123492470
commit 3a6339f3dd
Notes: sideshowbarker 2024-07-16 21:42:29 +09:00

View file

@ -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 {};