summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/core/favicon_driver_qt.cpp7
-rw-r--r--src/core/favicon_driver_qt.h3
2 files changed, 0 insertions, 10 deletions
diff --git a/src/core/favicon_driver_qt.cpp b/src/core/favicon_driver_qt.cpp
index bb4a734b4..e710d5358 100644
--- a/src/core/favicon_driver_qt.cpp
+++ b/src/core/favicon_driver_qt.cpp
@@ -263,13 +263,6 @@ void FaviconDriverQt::DidUpdateFaviconURL(
if (!entry)
return;
- // We update |m_faviconUrls| even if the list is believed to be partial
- // (checked below), because callers of our getter favicon_urls() expect so.
- std::vector<blink::mojom::FaviconURLPtr> faviconUrls;
- for (const auto &candidate : candidates)
- faviconUrls.push_back(candidate.Clone());
- m_faviconUrls = std::move(faviconUrls);
-
if (!rfh->IsDocumentOnLoadCompletedInMainFrame())
return;
diff --git a/src/core/favicon_driver_qt.h b/src/core/favicon_driver_qt.h
index 96bd682a2..6dc377969 100644
--- a/src/core/favicon_driver_qt.h
+++ b/src/core/favicon_driver_qt.h
@@ -137,9 +137,6 @@ private:
GURL m_bypassCachePageURL;
- // nullopt until the actual list is reported via DidUpdateFaviconURL().
- absl::optional<std::vector<blink::mojom::FaviconURLPtr>> m_faviconUrls;
-
int m_completedHandlersCount = 0;
FaviconStatusQt m_latestFavicon;