diff options
author | jhawkins@chromium.org <jhawkins@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-07-21 19:53:23 +0000 |
---|---|---|
committer | jhawkins@chromium.org <jhawkins@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-07-21 19:53:23 +0000 |
commit | 41e342f3745b27ba8eeaa87187e3465de484c2a4 (patch) | |
tree | 450e86b869f04fe823e0a28465d7899ce0b9f590 /chrome/common/render_messages.h | |
parent | e8cf47b31dde03bf5e14d10af9834eaf12cba3c5 (diff) | |
download | chromium_src-41e342f3745b27ba8eeaa87187e3465de484c2a4.zip chromium_src-41e342f3745b27ba8eeaa87187e3465de484c2a4.tar.gz chromium_src-41e342f3745b27ba8eeaa87187e3465de484c2a4.tar.bz2 |
Fix for: State in small letters should be auto-filled from the profile.
BUG=38222
TEST=in the bug
Patch by George Yakovleg <georgey@chromium.org>
Review URL: http://codereview.chromium.org/2832064
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@53234 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/common/render_messages.h')
-rw-r--r-- | chrome/common/render_messages.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/chrome/common/render_messages.h b/chrome/common/render_messages.h index 4889965..e1ec6b3 100644 --- a/chrome/common/render_messages.h +++ b/chrome/common/render_messages.h @@ -957,15 +957,18 @@ struct ParamTraits<webkit_glue::FormField> { WriteParam(m, p.value()); WriteParam(m, p.form_control_type()); WriteParam(m, p.size()); + WriteParam(m, p.option_strings()); } static bool Read(const Message* m, void** iter, param_type* p) { string16 label, name, value, form_control_type; int size = 0; + std::vector<string16> options; bool result = ReadParam(m, iter, &label); result = result && ReadParam(m, iter, &name); result = result && ReadParam(m, iter, &value); result = result && ReadParam(m, iter, &form_control_type); result = result && ReadParam(m, iter, &size); + result = result && ReadParam(m, iter, &options); if (!result) return false; @@ -974,6 +977,7 @@ struct ParamTraits<webkit_glue::FormField> { p->set_value(value); p->set_form_control_type(form_control_type); p->set_size(size); + p->set_option_strings(options); return true; } static void Log(const param_type& p, std::wstring* l) { |