diff options
author | honten@chromium.org <honten@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-08-18 18:39:02 +0000 |
---|---|---|
committer | honten@chromium.org <honten@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-08-18 18:39:02 +0000 |
commit | a501164c2beca50a43fa3895ce014ccff2f3614d (patch) | |
tree | 5c73b7d25c825f974f91f3220a2c37b3c2cb4500 /chrome/browser/autofill/autofill_profile.cc | |
parent | 5ab8f48e3edea9bfa6a26bdf8b7767f62e76b82a (diff) | |
download | chromium_src-a501164c2beca50a43fa3895ce014ccff2f3614d.zip chromium_src-a501164c2beca50a43fa3895ce014ccff2f3614d.tar.gz chromium_src-a501164c2beca50a43fa3895ce014ccff2f3614d.tar.bz2 |
Add NAMEK_MIDDLE_INITIAL to return NAME_FULL in GetEquivalentFieldTypeCollapsingNames.
BUG=92719
TEST=AutofillProfileTest.CreateInferredLabels
Review URL: http://codereview.chromium.org/7669048
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@97342 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/autofill/autofill_profile.cc')
-rw-r--r-- | chrome/browser/autofill/autofill_profile.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/chrome/browser/autofill/autofill_profile.cc b/chrome/browser/autofill/autofill_profile.cc index 0cf907b..2656594 100644 --- a/chrome/browser/autofill/autofill_profile.cc +++ b/chrome/browser/autofill/autofill_profile.cc @@ -29,7 +29,7 @@ namespace { AutofillFieldType GetEquivalentFieldTypeCollapsingNames( AutofillFieldType field_type) { if (field_type == NAME_FIRST || field_type == NAME_MIDDLE || - field_type == NAME_LAST) + field_type == NAME_LAST || field_type == NAME_MIDDLE_INITIAL) return NAME_FULL; return AutofillType::GetEquivalentFieldType(field_type); |