mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 12:48:10 +00:00
LibWeb: Make process_blob_parts() publicly accessible
This pulls process_blob_parts() out of the Blob class and makes it publicly accessible.
This commit is contained in:
parent
622a4f29a7
commit
c038a8c9c9
2 changed files with 36 additions and 34 deletions
|
@ -26,6 +26,8 @@ struct BlobPropertyBag {
|
|||
Bindings::EndingType endings;
|
||||
};
|
||||
|
||||
[[nodiscard]] ErrorOr<ByteBuffer> process_blob_parts(Vector<BlobPart> const& blob_parts);
|
||||
|
||||
class Blob
|
||||
: public RefCounted<Blob>
|
||||
, public Weakable<Blob>
|
||||
|
@ -52,7 +54,6 @@ public:
|
|||
|
||||
private:
|
||||
Blob() = default;
|
||||
static ErrorOr<ByteBuffer> process_blob_parts(Vector<BlobPart> const& blob_parts);
|
||||
|
||||
ByteBuffer m_byte_buffer {};
|
||||
String m_type {};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue