diff options
Diffstat (limited to 'webkit/glue/form_field_values.cc')
-rw-r--r-- | webkit/glue/form_field_values.cc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/webkit/glue/form_field_values.cc b/webkit/glue/form_field_values.cc index 3a57fad..3afdedd 100644 --- a/webkit/glue/form_field_values.cc +++ b/webkit/glue/form_field_values.cc @@ -12,6 +12,7 @@ #include "base/basictypes.h" #include "base/logging.h" +#include "base/string16.h" #include "base/string_util.h" #include "webkit/api/public/WebForm.h" #include "webkit/glue/form_field_values.h" @@ -64,12 +65,11 @@ FormFieldValues* FormFieldValues::Create(const WebForm& webform) { if (value.length() == 0) continue; - string16 name = StringToString16( - WebKit::nameOfInputElement(input_element)); + string16 name = StringToString16(WebKit::nameOfInputElement(input_element)); if (name.length() == 0) continue; // If we have no name, there is nothing to store. - result->elements.push_back(FormFieldValues::Element(name, value)); + result->elements.push_back(FormField(form_element, name, value)); } return result; |