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

Unified Diff: components/favicon/core/favicon_driver_impl.cc

Issue 2891333002: Introduce dedicated enum value for icons from Web Manifests (Closed)
Patch Set: 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/core/favicon_driver_impl.cc
diff --git a/components/favicon/core/favicon_driver_impl.cc b/components/favicon/core/favicon_driver_impl.cc
index 545def8f27886a2ff8997d8acd3f54d2f0b2953f..6b92e684cec3a9df89bb2a3512e96eaea916f9ce 100644
--- a/components/favicon/core/favicon_driver_impl.cc
+++ b/components/favicon/core/favicon_driver_impl.cc
@@ -106,7 +106,7 @@ void FaviconDriverImpl::OnUpdateCandidates(
// FAVICON, because those compete which each other (i.e. manifest icons
// override inline favicons).
handler->OnUpdateCandidates(page_url, candidates,
- handler->icon_types() & favicon_base::FAVICON
+ handler->icon_types() & favicon_base::TOUCH_ICON
? manifest_url
: GURL::EmptyGURL());
}

Powered by Google App Engine
This is Rietveld 408576698