From 12fce55caf43801e31834ad465a313c0de03f8e4 Mon Sep 17 00:00:00 2001 From: Andrew Kaster Date: Wed, 3 Apr 2024 09:56:53 -0600 Subject: [PATCH] LibWeb: Don't load favicons twice for non-SVG documents This seems to be a rebase mishap in bdb8af94ee. --- Userland/Libraries/LibWeb/DOM/Document.cpp | 1 - 1 file changed, 1 deletion(-) diff --git a/Userland/Libraries/LibWeb/DOM/Document.cpp b/Userland/Libraries/LibWeb/DOM/Document.cpp index 0c2248afe55..9e9281f5473 100644 --- a/Userland/Libraries/LibWeb/DOM/Document.cpp +++ b/Userland/Libraries/LibWeb/DOM/Document.cpp @@ -2158,7 +2158,6 @@ void Document::update_readiness(HTML::DocumentReadyState readiness_value) if (!is_decoded_svg()) { HTML::HTMLLinkElement::load_fallback_favicon_if_needed(*this).release_value_but_fixme_should_propagate_errors(); } - HTML::HTMLLinkElement::load_fallback_favicon_if_needed(*this).release_value_but_fixme_should_propagate_errors(); navigable->traversable_navigable()->page().client().page_did_finish_loading(url()); } else { m_needs_to_call_page_did_load = true;