mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 05:58:11 +00:00
LibWeb: Re-enable favicons after forgotten if-0
This commit is contained in:
parent
7e62ffbc6e
commit
b03e8a6d06
1 changed files with 0 additions and 2 deletions
|
@ -171,7 +171,6 @@ bool FrameLoader::load(const LoadRequest& request, Type type)
|
||||||
return true;
|
return true;
|
||||||
|
|
||||||
if (url.protocol() == "http" || url.protocol() == "https") {
|
if (url.protocol() == "http" || url.protocol() == "https") {
|
||||||
#if 0
|
|
||||||
URL favicon_url;
|
URL favicon_url;
|
||||||
favicon_url.set_protocol(url.protocol());
|
favicon_url.set_protocol(url.protocol());
|
||||||
favicon_url.set_host(url.host());
|
favicon_url.set_host(url.host());
|
||||||
|
@ -192,7 +191,6 @@ bool FrameLoader::load(const LoadRequest& request, Type type)
|
||||||
if (auto* page = frame().page())
|
if (auto* page = frame().page())
|
||||||
page->client().page_did_change_favicon(*bitmap);
|
page->client().page_did_change_favicon(*bitmap);
|
||||||
});
|
});
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
return true;
|
return true;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue