summaryrefslogtreecommitdiffstats
path: root/webkit/glue/form_field_values.cc
diff options
context:
space:
mode:
Diffstat (limited to 'webkit/glue/form_field_values.cc')
-rw-r--r--webkit/glue/form_field_values.cc4
1 files changed, 3 insertions, 1 deletions
diff --git a/webkit/glue/form_field_values.cc b/webkit/glue/form_field_values.cc
index 66d6b0a..6118889 100644
--- a/webkit/glue/form_field_values.cc
+++ b/webkit/glue/form_field_values.cc
@@ -62,7 +62,9 @@ void FormFieldValues::ExtractFormFieldValues(
if (type.empty())
continue;
- elements.push_back(FormField(name, type, value));
+ // TODO(jhawkins): Extract the field label. For now we just use the field
+ // name.
+ elements.push_back(FormField(name, name, type, value));
}
}