mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-07-29 12:19:54 +00:00
LibWeb: Remove usage of URL::set_path() in FrameLoader
This replaces a call to URL::set_path() with URL::set_paths(), as set_path() will be deprecated and removed.
This commit is contained in:
parent
915cce5b74
commit
1c4854824b
Notes:
sideshowbarker
2024-07-18 17:04:06 +09:00
Author: https://github.com/MaxWipfli
Commit: 1c4854824b
Pull-request: https://github.com/SerenityOS/serenity/pull/7478
Reviewed-by: https://github.com/awesomekling
1 changed files with 1 additions and 1 deletions
|
@ -158,7 +158,7 @@ bool FrameLoader::load(const LoadRequest& request, Type type)
|
|||
favicon_url.set_protocol(url.protocol());
|
||||
favicon_url.set_host(url.host());
|
||||
favicon_url.set_port(url.port());
|
||||
favicon_url.set_path("/favicon.ico");
|
||||
favicon_url.set_paths({ "favicon.ico" });
|
||||
|
||||
ResourceLoader::the().load(
|
||||
favicon_url,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue