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

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

Issue 2918903002: Move IconURLs method from WebFrame to WebLocalFrame (Closed)
Patch Set: s/kFavIcon/kFavicon/g (as suggested in CR feedback from pkotwicz@). Created 3 years, 6 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/favicon_url_util.cc
diff --git a/components/favicon/content/favicon_url_util.cc b/components/favicon/content/favicon_url_util.cc
index c77ff8b7808453325ec5446d51b8cb42206297e7..f08149acc829ead45a94abeb9f37e8de0f2d38ae 100644
--- a/components/favicon/content/favicon_url_util.cc
+++ b/components/favicon/content/favicon_url_util.cc
@@ -17,13 +17,13 @@ namespace {
favicon_base::IconType IconTypeFromContentIconType(
content::FaviconURL::IconType icon_type) {
switch (icon_type) {
- case content::FaviconURL::FAVICON:
+ case content::FaviconURL::IconType::kFavicon:
return favicon_base::FAVICON;
- case content::FaviconURL::TOUCH_ICON:
+ case content::FaviconURL::IconType::kTouchIcon:
return favicon_base::TOUCH_ICON;
- case content::FaviconURL::TOUCH_PRECOMPOSED_ICON:
+ case content::FaviconURL::IconType::kTouchPrecomposedIcon:
return favicon_base::TOUCH_PRECOMPOSED_ICON;
- case content::FaviconURL::INVALID_ICON:
+ case content::FaviconURL::IconType::kInvalid:
return favicon_base::INVALID_ICON;
}
NOTREACHED();

Powered by Google App Engine
This is Rietveld 408576698