mirror of
https://github.com/servo/servo.git
synced 2025-08-04 21:20:23 +01:00
Pass &JS<Window> to reflect_dom_object.
This commit is contained in:
parent
6291aac170
commit
23b7277b54
23 changed files with 26 additions and 26 deletions
|
@ -38,7 +38,7 @@ impl FormData {
|
|||
}
|
||||
|
||||
pub fn new(form: Option<JS<HTMLFormElement>>, window: &JS<Window>) -> JS<FormData> {
|
||||
reflect_dom_object(~FormData::new_inherited(form, window.clone()), window.get(), FormDataBinding::Wrap)
|
||||
reflect_dom_object(~FormData::new_inherited(form, window.clone()), window, FormDataBinding::Wrap)
|
||||
}
|
||||
|
||||
pub fn Constructor(window: &JS<Window>, form: Option<JS<HTMLFormElement>>)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue