aboutsummaryrefslogtreecommitdiffstats
path: root/src/components/script/dom/formdata.rs
diff options
context:
space:
mode:
authorMs2ger <ms2ger@gmail.com>2014-03-04 14:13:58 +0100
committerMs2ger <ms2ger@gmail.com>2014-03-04 14:13:58 +0100
commit23b7277b5465d8dbf9cdf94f672688e7af9b89ab (patch)
tree32b18fe6e737e806582f986f028acac4868d582b /src/components/script/dom/formdata.rs
parent6291aac1701430ec9c55ff852bbdd653a8a9acb4 (diff)
downloadservo-23b7277b5465d8dbf9cdf94f672688e7af9b89ab.tar.gz
servo-23b7277b5465d8dbf9cdf94f672688e7af9b89ab.zip
Pass &JS<Window> to reflect_dom_object.
Diffstat (limited to 'src/components/script/dom/formdata.rs')
-rw-r--r--src/components/script/dom/formdata.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/components/script/dom/formdata.rs b/src/components/script/dom/formdata.rs
index 011722ea275..bd4c7a03d6e 100644
--- a/src/components/script/dom/formdata.rs
+++ b/src/components/script/dom/formdata.rs
@@ -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>>)