diff options
author | networkException <git@nwex.de> | 2023-04-11 14:53:40 +0200 |
---|---|---|
committer | Linus Groh <mail@linusgroh.de> | 2023-04-11 16:28:20 +0200 |
commit | 9915fa72fbb161526616f4ff485a112fecd1f59c (patch) | |
tree | 82a30b3d2f770db2111e8b4d28aed8e6909eae1d /Userland/Libraries/LibWeb/HTML/Location.cpp | |
parent | 38bdf4d159e6891b07c3a59dd274b9d18f3af0b5 (diff) | |
download | serenity-9915fa72fbb161526616f4ff485a112fecd1f59c.zip |
AK+Everywhere: Use Optional for URLParser::parse's base_url parameter
Diffstat (limited to 'Userland/Libraries/LibWeb/HTML/Location.cpp')
-rw-r--r-- | Userland/Libraries/LibWeb/HTML/Location.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Userland/Libraries/LibWeb/HTML/Location.cpp b/Userland/Libraries/LibWeb/HTML/Location.cpp index 1ff44e4e24..0c0247ee4a 100644 --- a/Userland/Libraries/LibWeb/HTML/Location.cpp +++ b/Userland/Libraries/LibWeb/HTML/Location.cpp @@ -312,7 +312,7 @@ WebIDL::ExceptionOr<void> Location::set_hash(String const& value) copy_url.set_fragment(""); // 6. Basic URL parse input, with copyURL as url and fragment state as state override. - auto result_url = URLParser::parse(input, nullptr, copy_url, URLParser::State::Fragment); + auto result_url = URLParser::parse(input, {}, copy_url, URLParser::State::Fragment); // 7. If copyURL's fragment is this's url's fragment, then return. if (copy_url.fragment() == this->url().fragment()) |