mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-07-29 12:19:54 +00:00
Everywhere: Use unqualified AK::URL
Now possible in LibWeb now that there is no longer a Web::URL.
This commit is contained in:
parent
f9e5b43b7a
commit
9ce8189f21
Notes:
sideshowbarker
2024-07-16 20:12:13 +09:00
Author: https://github.com/shannonbooth
Commit: 9ce8189f21
Pull-request: https://github.com/SerenityOS/serenity/pull/23152
Reviewed-by: https://github.com/awesomekling ✅
156 changed files with 471 additions and 471 deletions
|
@ -26,7 +26,7 @@ void set_chrome_process_executable_path(StringView executable_path)
|
|||
s_chrome_process_executable_path = MUST(String::from_utf8(executable_path));
|
||||
}
|
||||
|
||||
ErrorOr<String> load_error_page(AK::URL const& url)
|
||||
ErrorOr<String> load_error_page(URL const& url)
|
||||
{
|
||||
// Generate HTML error page from error template file
|
||||
// FIXME: Use an actual templating engine (our own one when it's built, preferably with a way to check these usages at compile time)
|
||||
|
@ -38,7 +38,7 @@ ErrorOr<String> load_error_page(AK::URL const& url)
|
|||
return TRY(String::from_utf8(generator.as_string_view()));
|
||||
}
|
||||
|
||||
ErrorOr<String> load_file_directory_page(AK::URL const& url)
|
||||
ErrorOr<String> load_file_directory_page(URL const& url)
|
||||
{
|
||||
// Generate HTML contents entries table
|
||||
auto lexical_path = LexicalPath(url.serialize_path());
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue