Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2955)

Unified Diff: chrome/common/form_field_data.cc

Issue 11198048: [Autofill] Update the autocomplete types implementation to match the current HTML spec. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix a test expectation Created 8 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/common/form_field_data.cc
diff --git a/chrome/common/form_field_data.cc b/chrome/common/form_field_data.cc
index cd134d4008ee2abe3165f2b0a6dcef95dc5e2a0e..97bbe99e0901bc39059c96dce053907254b21150 100644
--- a/chrome/common/form_field_data.cc
+++ b/chrome/common/form_field_data.cc
@@ -23,7 +23,7 @@ bool FormFieldData::operator==(const FormFieldData& field) const {
return (label == field.label &&
name == field.name &&
form_control_type == field.form_control_type &&
- autocomplete_type == field.autocomplete_type &&
+ autocomplete_attribute == field.autocomplete_attribute &&
max_length == field.max_length);
}
@@ -48,7 +48,7 @@ std::ostream& operator<<(std::ostream& os, const FormFieldData& field) {
<< " "
<< UTF16ToUTF8(field.form_control_type)
<< " "
- << UTF16ToUTF8(field.autocomplete_type)
+ << UTF16ToUTF8(field.autocomplete_attribute)
<< " "
<< field.max_length
<< " "

Powered by Google App Engine
This is Rietveld 408576698