summaryrefslogtreecommitdiffstats
path: root/chrome
diff options
context:
space:
mode:
Diffstat (limited to 'chrome')
-rw-r--r--chrome/common/render_messages.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/chrome/common/render_messages.h b/chrome/common/render_messages.h
index dfb7c09..3a12c49 100644
--- a/chrome/common/render_messages.h
+++ b/chrome/common/render_messages.h
@@ -752,10 +752,10 @@ struct ParamTraits<webkit_glue::FormFieldValues> {
result = result && ReadParam(m, iter, &elements_size);
p->elements.resize(elements_size);
for (size_t i = 0; i < elements_size; i++) {
- string16 name = p->elements[i].name();
- string16 value = p->elements[i].value();
+ string16 name, value;
result = result && ReadParam(m, iter, &name);
result = result && ReadParam(m, iter, &value);
+ p->elements[i] = webkit_glue::FormField(NULL, name, value);
}
return result;
}