summaryrefslogtreecommitdiffstats
path: root/chrome/browser
diff options
context:
space:
mode:
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);