mirror of
https://github.com/RGBCube/serenity
synced 2025-07-24 22:27:42 +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
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