diff options
Diffstat (limited to 'components/script/dom/formdata.rs')
-rw-r--r-- | components/script/dom/formdata.rs | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/components/script/dom/formdata.rs b/components/script/dom/formdata.rs index 10d1a11f18e..3a8f3ce4b5b 100644 --- a/components/script/dom/formdata.rs +++ b/components/script/dom/formdata.rs @@ -4,7 +4,6 @@ use crate::dom::bindings::cell::DomRefCell; use crate::dom::bindings::codegen::Bindings::FormDataBinding::FormDataMethods; -use crate::dom::bindings::codegen::Bindings::FormDataBinding::FormDataWrap; use crate::dom::bindings::codegen::UnionTypes::FileOrUSVString; use crate::dom::bindings::error::{Error, Fallible}; use crate::dom::bindings::inheritance::Castable; @@ -43,11 +42,7 @@ impl FormData { } pub fn new(form_datums: Option<Vec<FormDatum>>, global: &GlobalScope) -> DomRoot<FormData> { - reflect_dom_object( - Box::new(FormData::new_inherited(form_datums)), - global, - FormDataWrap, - ) + reflect_dom_object(Box::new(FormData::new_inherited(form_datums)), global) } // https://xhr.spec.whatwg.org/#dom-formdata |