Index: components/autofill/core/browser/autofill_xml_parser.cc |
diff --git a/components/autofill/core/browser/autofill_xml_parser.cc b/components/autofill/core/browser/autofill_xml_parser.cc |
index 972e42e60d31f727fabea00e763daa838cf3c89a..c1acbe90f7f71da7130ace1318a57d350981572f 100644 |
--- a/components/autofill/core/browser/autofill_xml_parser.cc |
+++ b/components/autofill/core/browser/autofill_xml_parser.cc |
@@ -100,7 +100,7 @@ void AutofillQueryXmlParser::StartElement(buzz::XmlParseContext* context, |
if (attribute_name.compare("autofilltype") == 0) { |
int value = GetIntValue(context, *attrs); |
if (value >= 0 && value < MAX_VALID_FIELD_TYPE) |
- field_info.field_type = static_cast<AutofillFieldType>(value); |
+ field_info.field_type = static_cast<ServerFieldType>(value); |
else |
field_info.field_type = NO_SERVER_DATA; |
} else if (field_info.field_type == FIELD_WITH_DEFAULT_VALUE && |