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

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

Issue 1080883002: Remove some more bad ASCII-centric autofill code. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: tests Created 5 years, 8 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 8e83a5a67c40873a1ef1ae0bb8469e84587d6c98..079a0413a904813db186b234a5e4ff3a844fc1f4 100644
--- a/components/autofill/core/browser/contact_info.cc
+++ b/components/autofill/core/browser/contact_info.cc
@@ -163,8 +163,8 @@ NameInfo& NameInfo::operator=(const NameInfo& info) {
bool NameInfo::ParsedNamesAreEqual(const NameInfo& info) {
l10n::CaseInsensitiveCompare compare;
return compare.StringsEqual(given_, info.given_) &&
- compare.StringsEqual(middle_, info.middle_) &&
- compare.StringsEqual(family_, info.family_);
+ compare.StringsEqual(middle_, info.middle_) &&
+ compare.StringsEqual(family_, info.family_);
}
void NameInfo::GetSupportedTypes(ServerFieldTypeSet* supported_types) const {

Powered by Google App Engine
This is Rietveld 408576698