mirror of
https://github.com/RGBCube/serenity
synced 2025-05-14 07:54:58 +00:00
AK+Everywhere: Use Optional for URLParser::parse's base_url parameter
This commit is contained in:
parent
38bdf4d159
commit
9915fa72fb
12 changed files with 31 additions and 32 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue