Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(288)

Unified Diff: components/favicon/content/content_favicon_driver.cc

Issue 2891333002: Introduce dedicated enum value for icons from Web Manifests (Closed)
Patch Set: Put browsertest behind #if. Created 3 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: components/favicon/content/content_favicon_driver.cc
diff --git a/components/favicon/content/content_favicon_driver.cc b/components/favicon/content/content_favicon_driver.cc
index 00442d00fa7dc27d77de5d90406c2c39d8354bb5..ece84e5ddac47ab7cd038887bce1a19a2ac1b1dc 100644
--- a/components/favicon/content/content_favicon_driver.cc
+++ b/components/favicon/content/content_favicon_driver.cc
@@ -31,7 +31,8 @@ void ExtractManifestIcons(
const content::Manifest& manifest) {
std::vector<FaviconURL> candidates;
for (const content::Manifest::Icon& icon : manifest.icons) {
- candidates.emplace_back(icon.src, favicon_base::FAVICON, icon.sizes);
+ candidates.emplace_back(icon.src, favicon_base::WEB_MANIFEST_ICON,
+ icon.sizes);
}
callback.Run(candidates);
}
« no previous file with comments | « chrome/browser/ui/app_list/search/suggestions/url_suggestion_result.cc ('k') | components/favicon/core/favicon_driver_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698