Chromium Code Reviews| 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 8db9fc5938208e8f6051049795ebfc1f51adb459..dce870ac27b4944643f06deb7d9308bfebcefd53 100644 |
| --- a/components/autofill/core/browser/contact_info.cc |
| +++ b/components/autofill/core/browser/contact_info.cc |
| @@ -39,9 +39,8 @@ NameInfo& NameInfo::operator=(const NameInfo& info) { |
| bool NameInfo::ParsedNamesAreEqual(const NameInfo& info) const { |
|
Mathieu
2016/04/29 12:23:03
update comment in .h
sebsg
2016/04/29 15:04:49
Done.
|
| l10n::CaseInsensitiveCompare compare; |
|
Mathieu
2016/04/29 12:23:03
no need for compare
sebsg
2016/04/29 15:04:49
Done.
|
| - return compare.StringsEqual(given_, info.given_) && |
| - compare.StringsEqual(middle_, info.middle_) && |
| - compare.StringsEqual(family_, info.family_); |
| + return given_ == info.given_ && middle_ == info.middle_ && |
| + family_ == info.family_; |
| } |
| void NameInfo::GetSupportedTypes(ServerFieldTypeSet* supported_types) const { |