summaryrefslogtreecommitdiff
path: root/AK/URL.h
diff options
context:
space:
mode:
authorSam Atkins <atkinssj@serenityos.org>2023-02-13 17:42:27 +0000
committerTim Flynn <trflynn89@pm.me>2023-02-15 12:48:26 -0500
commitabc01cc9fe45e7cfff195244773d1ddbeeea7c8d (patch)
tree83c9a6366d9a94d3bfb0fe982fbcb23f81fd4a2f /AK/URL.h
parent8af65108e4cff13993cd69d74b44acd5d3e9ee32 (diff)
downloadserenity-abc01cc9fe45e7cfff195244773d1ddbeeea7c8d.zip
AK+Tests+LibWeb: Make `URL::complete_url()` take a StringView
All it does is pass this to `URLParser::parse()` which takes a StringView, so we might as well take one here too.
Diffstat (limited to 'AK/URL.h')
-rw-r--r--AK/URL.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/AK/URL.h b/AK/URL.h
index ef98d869e4..c4fc76506b 100644
--- a/AK/URL.h
+++ b/AK/URL.h
@@ -88,7 +88,7 @@ public:
bool equals(URL const& other, ExcludeFragment = ExcludeFragment::No) const;
- URL complete_url(DeprecatedString const&) const;
+ URL complete_url(StringView) const;
bool data_payload_is_base64() const { return m_data_payload_is_base64; }
DeprecatedString const& data_mime_type() const { return m_data_mime_type; }