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 e95c9beafd2658030f2d47e22fa151db0bb1c952..18c844adb63b805701e93588bb86fd01b166c22a 100644 |
--- a/chrome/browser/ui/autofill/autofill_dialog_common.cc |
+++ b/chrome/browser/ui/autofill/autofill_dialog_common.cc |
@@ -37,8 +37,10 @@ bool ServerTypeEncompassesFieldType(ServerFieldType type, |
// The page may ask for individual address lines; this roughly matches the |
// street address blob. |
- if (server_type == ADDRESS_HOME_LINE1 || server_type == ADDRESS_HOME_LINE2) |
+ if (server_type == ADDRESS_HOME_LINE1 || server_type == ADDRESS_HOME_LINE2 || |
+ field_type.html_type() == HTML_TYPE_FULL_ADDRESS) { |
return autofill_type.GetStorableType() == ADDRESS_HOME_STREET_ADDRESS; |
+ } |
return autofill_type.GetStorableType() == server_type; |
} |