LibWeb: Fix const issue on type() accessor for the Blob interface

This commit is contained in:
Kenneth Myhra 2022-07-26 11:29:07 +02:00 committed by Linus Groh
parent c038a8c9c9
commit 6305ef197f
Notes: sideshowbarker 2024-07-17 08:33:13 +09:00

View file

@ -41,7 +41,7 @@ public:
static DOM::ExceptionOr<NonnullRefPtr<Blob>> create_with_global_object(Bindings::WindowObject&, Optional<Vector<BlobPart>> const& blob_parts = {}, Optional<BlobPropertyBag> const& options = {});
u64 size() const { return m_byte_buffer.size(); }
String type() const& { return m_type; }
String const& type() const { return m_type; }
DOM::ExceptionOr<NonnullRefPtr<Blob>> slice(Optional<i64> start = {}, Optional<i64> end = {}, Optional<String> const& content_type = {});