summaryrefslogtreecommitdiff
path: root/AK/URL.cpp
diff options
context:
space:
mode:
authornetworkException <git@nwex.de>2023-04-11 14:53:40 +0200
committerLinus Groh <mail@linusgroh.de>2023-04-11 16:28:20 +0200
commit9915fa72fbb161526616f4ff485a112fecd1f59c (patch)
tree82a30b3d2f770db2111e8b4d28aed8e6909eae1d /AK/URL.cpp
parent38bdf4d159e6891b07c3a59dd274b9d18f3af0b5 (diff)
downloadserenity-9915fa72fbb161526616f4ff485a112fecd1f59c.zip
AK+Everywhere: Use Optional for URLParser::parse's base_url parameter
Diffstat (limited to 'AK/URL.cpp')
-rw-r--r--AK/URL.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/AK/URL.cpp b/AK/URL.cpp
index 303b9a7356..16cee01228 100644
--- a/AK/URL.cpp
+++ b/AK/URL.cpp
@@ -44,7 +44,7 @@ URL URL::complete_url(StringView relative_url) const
if (!is_valid())
return {};
- return URLParser::parse(relative_url, this);
+ return URLParser::parse(relative_url, *this);
}
void URL::set_scheme(DeprecatedString scheme)