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

Unified Diff: components/autofill/core/browser/contact_info.cc

Issue 448853002: Move StringToLowerASCII to 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: components/autofill/core/browser/contact_info.cc
diff --git a/components/autofill/core/browser/contact_info.cc b/components/autofill/core/browser/contact_info.cc
index ab79419e7fe6966c78881f05158fa1cf74313ee1..b320a81ee5552a51f97e01438ee0400fa79770de 100644
--- a/components/autofill/core/browser/contact_info.cc
+++ b/components/autofill/core/browser/contact_info.cc
@@ -160,9 +160,12 @@ NameInfo& NameInfo::operator=(const NameInfo& info) {
}
bool NameInfo::ParsedNamesAreEqual(const NameInfo& info) {
- return (StringToLowerASCII(given_) == StringToLowerASCII(info.given_) &&
- StringToLowerASCII(middle_) == StringToLowerASCII(info.middle_) &&
- StringToLowerASCII(family_) == StringToLowerASCII(info.family_));
+ return (base::StringToLowerASCII(given_) ==
+ base::StringToLowerASCII(info.given_) &&
+ base::StringToLowerASCII(middle_) ==
+ base::StringToLowerASCII(info.middle_) &&
+ base::StringToLowerASCII(family_) ==
+ base::StringToLowerASCII(info.family_));
}
void NameInfo::GetSupportedTypes(ServerFieldTypeSet* supported_types) const {
« no previous file with comments | « components/autofill/core/browser/autofill_profile.cc ('k') | components/autofill/core/browser/credit_card.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698