summaryrefslogtreecommitdiff
path: root/Libraries/LibWeb
diff options
context:
space:
mode:
authorAnotherTest <ali.mpfard@gmail.com>2020-12-30 21:02:08 +0330
committerAndreas Kling <kling@serenityos.org>2020-12-30 20:37:41 +0100
commitb03e8a6d066c7fb1329099350057ef4606b19d3e (patch)
treeacfe0d66c34f3c3a6e9c06b23be06dafc238208f /Libraries/LibWeb
parent7e62ffbc6ea3d6ee9300c2c7c7361cb528db1808 (diff)
downloadserenity-b03e8a6d066c7fb1329099350057ef4606b19d3e.zip
LibWeb: Re-enable favicons after forgotten if-0
Diffstat (limited to 'Libraries/LibWeb')
-rw-r--r--Libraries/LibWeb/Loader/FrameLoader.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/Libraries/LibWeb/Loader/FrameLoader.cpp b/Libraries/LibWeb/Loader/FrameLoader.cpp
index 561be8f104..72598378d1 100644
--- a/Libraries/LibWeb/Loader/FrameLoader.cpp
+++ b/Libraries/LibWeb/Loader/FrameLoader.cpp
@@ -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;