From 3a6339f3dd2c0cf1bd7133fd9d4edeeab6512540 Mon Sep 17 00:00:00 2001 From: Shannon Booth Date: Sat, 9 Sep 2023 13:27:22 +1200 Subject: [PATCH] LibWeb: Mark Blob::get_stream as public This algorithm may be called from outside of Blob. --- Userland/Libraries/LibWeb/FileAPI/Blob.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Userland/Libraries/LibWeb/FileAPI/Blob.h b/Userland/Libraries/LibWeb/FileAPI/Blob.h index d4bbdfcabd..2f4658f440 100644 --- a/Userland/Libraries/LibWeb/FileAPI/Blob.h +++ b/Userland/Libraries/LibWeb/FileAPI/Blob.h @@ -49,6 +49,8 @@ public: ReadonlyBytes bytes() const { return m_byte_buffer.bytes(); } + WebIDL::ExceptionOr> 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> get_stream(); - explicit Blob(JS::Realm&); ByteBuffer m_byte_buffer {};