mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-11-30 03:20:28 +00:00
LibWeb: Fix const issue on type() accessor for the Blob interface
This commit is contained in:
parent
c038a8c9c9
commit
6305ef197f
Notes:
sideshowbarker
2024-07-17 08:33:13 +09:00
Author: https://github.com/kennethmyhra Commit: https://github.com/SerenityOS/serenity/commit/6305ef197f Pull-request: https://github.com/SerenityOS/serenity/pull/14694 Reviewed-by: https://github.com/linusg Reviewed-by: https://github.com/trflynn89
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 = {});
|
||||
|
||||
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 = {});
|
||||
|
||||
|
|
Loading…
Reference in a new issue