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

Unified Diff: chrome/renderer/translate/translate_helper.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
« no previous file with comments | « chrome/renderer/extensions/webstore_bindings.cc ('k') | chrome/renderer/web_apps.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/renderer/translate/translate_helper.cc
diff --git a/chrome/renderer/translate/translate_helper.cc b/chrome/renderer/translate/translate_helper.cc
index a05953cbe5804c121ed4197aa03c63577955f050..8629e5bced5cbaee9e1ad55221ae2334f197fb52 100644
--- a/chrome/renderer/translate/translate_helper.cc
+++ b/chrome/renderer/translate/translate_helper.cc
@@ -369,7 +369,7 @@ bool TranslateHelper::IsTranslationAllowed(WebDocument* document) {
attribute = element.getAttribute(content);
if (attribute.isNull())
continue;
- if (LowerCaseEqualsASCII(attribute, "notranslate"))
+ if (base::LowerCaseEqualsASCII(base::string16(attribute), "notranslate"))
return false;
}
return true;
« no previous file with comments | « chrome/renderer/extensions/webstore_bindings.cc ('k') | chrome/renderer/web_apps.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698