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

Unified Diff: chrome/renderer/web_apps.cc

Issue 448143008: Move StringToUpperASCII and LowerCaseEqualsASCII to the base namespace (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 4 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: chrome/renderer/web_apps.cc
diff --git a/chrome/renderer/web_apps.cc b/chrome/renderer/web_apps.cc
index 736015b46284cd3b748aff076faacb3c4d025002..ea4e0b3eecf45bd96034ae79c2e80b2aa8d3b3fa 100644
--- a/chrome/renderer/web_apps.cc
+++ b/chrome/renderer/web_apps.cc
@@ -149,12 +149,13 @@ bool ParseWebAppFromWebDocument(WebFrame* frame,
//
// Streamlined Hosted Apps also support "apple-touch-icon" and
// "apple-touch-icon-precomposed".
- if (LowerCaseEqualsASCII(rel, "icon") ||
- LowerCaseEqualsASCII(rel, "shortcut icon") ||
+ if (base::LowerCaseEqualsASCII(rel, "icon") ||
+ base::LowerCaseEqualsASCII(rel, "shortcut icon") ||
(CommandLine::ForCurrentProcess()->
HasSwitch(switches::kEnableStreamlinedHostedApps) &&
- (LowerCaseEqualsASCII(rel, "apple-touch-icon") ||
- LowerCaseEqualsASCII(rel, "apple-touch-icon-precomposed")))) {
+ (base::LowerCaseEqualsASCII(rel, "apple-touch-icon") ||
+ base::LowerCaseEqualsASCII(rel,
+ "apple-touch-icon-precomposed")))) {
AddInstallIcon(elem, &app_info->icons);
}
} else if (elem.hasHTMLTagName("meta") && elem.hasAttribute("name")) {

Powered by Google App Engine
This is Rietveld 408576698