1
Fork 0
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:
Max Wipfli 2021-05-27 21:27:51 +02:00 committed by Andreas Kling
parent 915cce5b74
commit 1c4854824b

View file

@ -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,