summaryrefslogtreecommitdiffstats
path: root/chrome/browser
diff options
context:
space:
mode:
authorjhawkins@chromium.org <jhawkins@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-04-07 21:17:03 +0000
committerjhawkins@chromium.org <jhawkins@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-04-07 21:17:03 +0000
commit37fa46aba3ae1c8ea9236229a1526eed45e54bf4 (patch)
tree9d0c846d8eb1d39d3ae100d20fd0db790a108834 /chrome/browser
parent9821e6e9f5259141e3e6c25c3b9493c78ae08e2c (diff)
downloadchromium_src-37fa46aba3ae1c8ea9236229a1526eed45e54bf4.zip
chromium_src-37fa46aba3ae1c8ea9236229a1526eed45e54bf4.tar.gz
chromium_src-37fa46aba3ae1c8ea9236229a1526eed45e54bf4.tar.bz2
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
Diffstat (limited to 'chrome/browser')
-rw-r--r--chrome/browser/autofill/contact_info.cc2
1 files changed, 1 insertions, 1 deletions
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);