From 6305ef197ff1678ee0f29bd15919aa15f1e7f39f Mon Sep 17 00:00:00 2001 From: Kenneth Myhra Date: Tue, 26 Jul 2022 11:29:07 +0200 Subject: [PATCH] LibWeb: Fix const issue on type() accessor for the Blob interface --- Userland/Libraries/LibWeb/FileAPI/Blob.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Userland/Libraries/LibWeb/FileAPI/Blob.h b/Userland/Libraries/LibWeb/FileAPI/Blob.h index 9c78ced66a..40b01498e9 100644 --- a/Userland/Libraries/LibWeb/FileAPI/Blob.h +++ b/Userland/Libraries/LibWeb/FileAPI/Blob.h @@ -41,7 +41,7 @@ public: static DOM::ExceptionOr> create_with_global_object(Bindings::WindowObject&, Optional> const& blob_parts = {}, Optional 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> slice(Optional start = {}, Optional end = {}, Optional const& content_type = {});