summaryrefslogtreecommitdiffstats
path: root/chrome/common
diff options
context:
space:
mode:
authorjhawkins@chromium.org <jhawkins@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-10-27 19:05:57 +0000
committerjhawkins@chromium.org <jhawkins@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-10-27 19:05:57 +0000
commitbc0b81500aab34d616e4bd3eeaa0a785447f3cb7 (patch)
tree66028886b3484dcc15817c5d73ee480923668baa /chrome/common
parent0afbf34c72160e15d145a1d6bbfc6f796bc3b7fa (diff)
downloadchromium_src-bc0b81500aab34d616e4bd3eeaa0a785447f3cb7.zip
chromium_src-bc0b81500aab34d616e4bd3eeaa0a785447f3cb7.tar.gz
chromium_src-bc0b81500aab34d616e4bd3eeaa0a785447f3cb7.tar.bz2
Actually copy the autofill data into the FormFieldValues vector. Fixes a regression caused by r29913.
BUG=25874 TEST=none Review URL: http://codereview.chromium.org/338047 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@30229 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/common')
-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;
}