servo: Merge #10522 - Various cleanups in HTMLInputElement (from KiChjang:input-cleanup); r=frewsxcv

Source-Repo: https://github.com/servo/servo
Source-Revision: 934ae41fc982058048f460a77687ab026c9a909f
This commit is contained in:
Keith Yeung
2016-04-12 07:26:38 +05:00
parent 22202bc43c
commit fbf502cd31
4 changed files with 55 additions and 66 deletions

View File

@@ -414,7 +414,7 @@ impl HTMLFormElement {
HTMLElementTypeId::HTMLInputElement => {
let input = child.downcast::<HTMLInputElement>().unwrap();
// Step 3.2-3.7
if let Some(datum) = input.get_form_datum(submitter) {
if let Some(datum) = input.form_datum(submitter) {
data_set.push(datum);
}
}