mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 14:07:46 +00:00
LibWeb: Fix const issue on type() accessor for the Blob interface
This commit is contained in:
parent
c038a8c9c9
commit
6305ef197f
1 changed files with 1 additions and 1 deletions
|
@ -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 = {});
|
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(); }
|
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 = {});
|
DOM::ExceptionOr<NonnullRefPtr<Blob>> slice(Optional<i64> start = {}, Optional<i64> end = {}, Optional<String> const& content_type = {});
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue