diff options
author | jhawkins@chromium.org <jhawkins@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-03-27 02:19:15 +0000 |
---|---|---|
committer | jhawkins@chromium.org <jhawkins@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-03-27 02:19:15 +0000 |
commit | 8ea2025aafbad247dd50cd19a81a364c14fc5796 (patch) | |
tree | eefb409eea12f709a4a20055b3ba5dcaa74407a0 /chrome/common | |
parent | d58b6b41902228daeacacd1c42ce15469c18d4be (diff) | |
download | chromium_src-8ea2025aafbad247dd50cd19a81a364c14fc5796.zip chromium_src-8ea2025aafbad247dd50cd19a81a364c14fc5796.tar.gz chromium_src-8ea2025aafbad247dd50cd19a81a364c14fc5796.tar.bz2 |
AutoFill: Handle filling select controls.
BUG=38222
TEST=none
Review URL: http://codereview.chromium.org/1309003
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@42891 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/common')
-rw-r--r-- | chrome/common/render_messages.h | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/chrome/common/render_messages.h b/chrome/common/render_messages.h index f795336..8274846 100644 --- a/chrome/common/render_messages.h +++ b/chrome/common/render_messages.h @@ -949,27 +949,20 @@ struct ParamTraits<webkit_glue::FormField> { WriteParam(m, p.name()); WriteParam(m, p.value()); WriteParam(m, p.form_control_type()); - WriteParam(m, static_cast<int>(p.input_type())); } static bool Read(const Message* m, void** iter, param_type* p) { string16 label, name, value, form_control_type; - int type; 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, &type); if (!result) return false; - WebKit::WebInputElement::InputType input_type = - static_cast<WebKit::WebInputElement::InputType>(type); - p->set_label(label); p->set_name(name); p->set_value(value); p->set_form_control_type(form_control_type); - p->set_input_type(input_type); return true; } static void Log(const param_type& p, std::wstring* l) { |