Chromium Code Reviews| 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. |
| + if (field_type.group() == NAME || field_type.group() == NAME_BILLING) |
| + return autofill_type.GetStorableType() == NAME_FULL; |
|
Ilya Sherman
2014/06/03 22:53:34
Why is this needed? Shouldn't the NameInfo class
Evan Stade
2014/06/03 23:55:34
rAc intentionally only fills in a subset of autoco
Ilya Sherman
2014/06/04 00:13:45
Ah, right. Makes sense.
|
| + |
| return autofill_type.GetStorableType() == server_type; |
| } |