Index: webkit/glue/form_field.cc |
diff --git a/webkit/glue/form_field.cc b/webkit/glue/form_field.cc |
index cddd538616cc67d00b5cd1ef3257c660c0588315..a82283aa3b7896357591ae59fcbd6a62b2728b11 100644 |
--- a/webkit/glue/form_field.cc |
+++ b/webkit/glue/form_field.cc |
@@ -53,9 +53,8 @@ FormField::FormField(const string16& label, |
bool FormField::operator==(const FormField& field) const { |
// A FormField stores a value, but the value is not part of the identity of |
// the field, so we don't want to compare the values. |
- // TODO(jhawkins): Re-enable checking the field label for == once we parse |
- // labels again. |
- return (name_ == field.name_ && |
+ return (label_ == field.label_ && |
+ name_ == field.name_ && |
form_control_type_ == field.form_control_type_); |
} |