Index: chrome/browser/ui/autofill/autofill_dialog_common.cc |
diff --git a/chrome/browser/ui/autofill/autofill_dialog_common.cc b/chrome/browser/ui/autofill/autofill_dialog_common.cc |
index 18c844adb63b805701e93588bb86fd01b166c22a..8d92994097395c7d4e31d826a104e349802d090f 100644 |
--- a/chrome/browser/ui/autofill/autofill_dialog_common.cc |
+++ b/chrome/browser/ui/autofill/autofill_dialog_common.cc |
@@ -42,6 +42,10 @@ bool ServerTypeEncompassesFieldType(ServerFieldType type, |
return autofill_type.GetStorableType() == ADDRESS_HOME_STREET_ADDRESS; |
} |
+ // First and last name are parsed from full name. |
Ilya Sherman
2014/06/12 23:25:25
nit: And middle name as well, it looks like.
Evan Stade
2014/06/14 01:17:23
Done.
|
+ if (field_type.group() == NAME || field_type.group() == NAME_BILLING) |
+ return autofill_type.GetStorableType() == NAME_FULL; |
+ |
return autofill_type.GetStorableType() == server_type; |
} |