LibWeb: Re-enable favicons after forgotten if-0

This commit is contained in:
AnotherTest 2020-12-30 21:02:08 +03:30 committed by Andreas Kling
parent 7e62ffbc6e
commit b03e8a6d06
Notes: sideshowbarker 2024-07-19 00:21:45 +09:00

View file

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