mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-04-20 19:45:12 +00:00
LibWeb: Re-enable favicons after forgotten if-0
This commit is contained in:
parent
7e62ffbc6e
commit
b03e8a6d06
Notes:
sideshowbarker
2024-07-19 00:21:45 +09:00
Author: https://github.com/alimpfard Commit: https://github.com/SerenityOS/serenity/commit/b03e8a6d066 Pull-request: https://github.com/SerenityOS/serenity/pull/4665
1 changed files with 0 additions and 2 deletions
|
@ -171,7 +171,6 @@ bool FrameLoader::load(const LoadRequest& request, Type type)
|
|||
return true;
|
||||
|
||||
if (url.protocol() == "http" || url.protocol() == "https") {
|
||||
#if 0
|
||||
URL favicon_url;
|
||||
favicon_url.set_protocol(url.protocol());
|
||||
favicon_url.set_host(url.host());
|
||||
|
@ -192,7 +191,6 @@ bool FrameLoader::load(const LoadRequest& request, Type type)
|
|||
if (auto* page = frame().page())
|
||||
page->client().page_did_change_favicon(*bitmap);
|
||||
});
|
||||
#endif
|
||||
}
|
||||
|
||||
return true;
|
||||
|
|
Loading…
Add table
Reference in a new issue