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

Unified Diff: trunk/src/chrome/renderer/chrome_render_view_observer.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/chrome_render_view_observer.cc
===================================================================
--- trunk/src/chrome/renderer/chrome_render_view_observer.cc (revision 289319)
+++ trunk/src/chrome/renderer/chrome_render_view_observer.cc (working copy)
@@ -225,7 +225,7 @@
&found_tag,
&content_str);
bool is_mobile_webapp_capable = mobile_parse_success && found_tag &&
- base::LowerCaseEqualsASCII(content_str, "yes");
+ LowerCaseEqualsASCII(content_str, "yes");
// Search for the "apple-mobile-web-app-capable" tag.
bool apple_parse_success = RetrieveMetaTagContent(
@@ -235,7 +235,7 @@
&found_tag,
&content_str);
bool is_apple_mobile_webapp_capable = apple_parse_success && found_tag &&
- base::LowerCaseEqualsASCII(content_str, "yes");
+ LowerCaseEqualsASCII(content_str, "yes");
bool is_only_apple_mobile_webapp_capable =
is_apple_mobile_webapp_capable && !is_mobile_webapp_capable;
@@ -470,8 +470,7 @@
if (!element.hasHTMLTagName(tag_name))
continue;
WebString value = element.getAttribute(attribute_name);
- if (value.isNull() ||
- !base::LowerCaseEqualsASCII(base::string16(value), "refresh"))
+ if (value.isNull() || !LowerCaseEqualsASCII(value, "refresh"))
continue;
return true;
}
« no previous file with comments | « trunk/src/chrome/installer/util/l10n_string_util.cc ('k') | trunk/src/chrome/renderer/extensions/webstore_bindings.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698