Index: chrome/browser/autofill/autofill_field.cc |
diff --git a/chrome/browser/autofill/autofill_field.cc b/chrome/browser/autofill/autofill_field.cc |
index 6716c652a020ce0393fc5933c8a1221c667a7b5f..cabffef0c17ef4bf04080726f81331384aca8325 100644 |
--- a/chrome/browser/autofill/autofill_field.cc |
+++ b/chrome/browser/autofill/autofill_field.cc |
@@ -53,6 +53,14 @@ void AutofillField::set_heuristic_type(AutofillFieldType type) { |
} |
} |
+void AutofillField::set_server_type(AutofillFieldType type) { |
+ // Chrome no longer supports fax numbers, but the server still does. |
+ if (type >= PHONE_FAX_NUMBER && type <= PHONE_FAX_WHOLE_NUMBER) |
+ return; |
+ |
+ server_type_ = type; |
+} |
+ |
AutofillFieldType AutofillField::type() const { |
if (server_type_ != NO_SERVER_DATA) |
return server_type_; |