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

Unified Diff: trunk/src/chrome/renderer/web_apps.cc

Issue 474483002: Revert 289312 "Move StringToUpperASCII and LowerCaseEqualsASCII ..." (Closed) Base URL: svn://svn.chromium.org/chrome/
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: trunk/src/chrome/renderer/web_apps.cc
===================================================================
--- trunk/src/chrome/renderer/web_apps.cc (revision 289319)
+++ trunk/src/chrome/renderer/web_apps.cc (working copy)
@@ -146,13 +146,12 @@
//
// Streamlined Hosted Apps also support "apple-touch-icon" and
// "apple-touch-icon-precomposed".
- if (base::LowerCaseEqualsASCII(rel, "icon") ||
- base::LowerCaseEqualsASCII(rel, "shortcut icon") ||
+ if (LowerCaseEqualsASCII(rel, "icon") ||
+ LowerCaseEqualsASCII(rel, "shortcut icon") ||
(CommandLine::ForCurrentProcess()->
HasSwitch(switches::kEnableStreamlinedHostedApps) &&
- (base::LowerCaseEqualsASCII(rel, "apple-touch-icon") ||
- base::LowerCaseEqualsASCII(rel,
- "apple-touch-icon-precomposed")))) {
+ (LowerCaseEqualsASCII(rel, "apple-touch-icon") ||
+ LowerCaseEqualsASCII(rel, "apple-touch-icon-precomposed")))) {
AddInstallIcon(elem, &app_info->icons);
}
} else if (elem.hasHTMLTagName("meta") && elem.hasAttribute("name")) {
« no previous file with comments | « trunk/src/chrome/renderer/translate/translate_helper.cc ('k') | trunk/src/chrome/test/chromedriver/element_util.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698