From 37fa46aba3ae1c8ea9236229a1526eed45e54bf4 Mon Sep 17 00:00:00 2001 From: "jhawkins@chromium.org" Date: Wed, 7 Apr 2010 21:17:03 +0000 Subject: AutoFill: Handle NAME_MIDDLE_INITIAL when setting field info. BUG=none TEST=none Review URL: http://codereview.chromium.org/1584017 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@43880 0039d316-1c4b-4281-b951-d872f2087c98 --- chrome/browser/autofill/contact_info.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'chrome/browser/autofill/contact_info.cc') diff --git a/chrome/browser/autofill/contact_info.cc b/chrome/browser/autofill/contact_info.cc index f77652a..bf547b8 100644 --- a/chrome/browser/autofill/contact_info.cc +++ b/chrome/browser/autofill/contact_info.cc @@ -106,7 +106,7 @@ void ContactInfo::SetInfo(const AutoFillType& type, const string16& value) { DCHECK(type.group() == AutoFillType::CONTACT_INFO); if (field_type == NAME_FIRST) SetFirst(value); - else if (field_type == NAME_MIDDLE) + else if (field_type == NAME_MIDDLE || field_type == NAME_MIDDLE_INITIAL) SetMiddle(value); else if (field_type == NAME_LAST) SetLast(value); -- cgit v1.1