diff options
author | Sam Atkins <atkinssj@serenityos.org> | 2023-02-13 17:42:27 +0000 |
---|---|---|
committer | Tim Flynn <trflynn89@pm.me> | 2023-02-15 12:48:26 -0500 |
commit | abc01cc9fe45e7cfff195244773d1ddbeeea7c8d (patch) | |
tree | 83c9a6366d9a94d3bfb0fe982fbcb23f81fd4a2f /AK/URL.h | |
parent | 8af65108e4cff13993cd69d74b44acd5d3e9ee32 (diff) | |
download | serenity-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.h | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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; } |