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

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: Update AutofillFieldTest expectations 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
« no previous file with comments | « chrome/common/form_field_data.h ('k') | chrome/renderer/autofill/autofill_renderer_browsertest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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..8ff3ce144e9f7422b86a9630439a89c0675c9e38 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);
}
@@ -46,9 +46,9 @@ std::ostream& operator<<(std::ostream& os, const FormFieldData& field) {
<< " "
<< UTF16ToUTF8(field.value)
<< " "
- << UTF16ToUTF8(field.form_control_type)
+ << field.form_control_type
<< " "
- << UTF16ToUTF8(field.autocomplete_type)
+ << field.autocomplete_attribute
<< " "
<< field.max_length
<< " "
« no previous file with comments | « chrome/common/form_field_data.h ('k') | chrome/renderer/autofill/autofill_renderer_browsertest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698