Index: components/favicon/core/favicon_driver_impl.cc |
diff --git a/components/favicon/core/favicon_driver_impl.cc b/components/favicon/core/favicon_driver_impl.cc |
index 8135922832521166f1f7b34559f975c447d10da4..dcac0775d97a2ee0a628d36026387f5e8fbb8aa6 100644 |
--- a/components/favicon/core/favicon_driver_impl.cc |
+++ b/components/favicon/core/favicon_driver_impl.cc |
@@ -101,6 +101,9 @@ bool FaviconDriverImpl::IsBookmarked(const GURL& url) { |
void FaviconDriverImpl::OnFaviconAvailable(const gfx::Image& image, |
const GURL& icon_url, |
bool is_active_favicon) { |
+ if (!ShouldSendFaviconAvailableNotifications()) |
+ return; |
+ |
if (is_active_favicon) { |
bool icon_url_changed = GetActiveFaviconURL() != icon_url; |
// No matter what happens, we need to mark the favicon as being set. |