aboutsummaryrefslogtreecommitdiffstats
path: root/components/script/dom/formdata.rs
diff options
context:
space:
mode:
Diffstat (limited to 'components/script/dom/formdata.rs')
-rw-r--r--components/script/dom/formdata.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/components/script/dom/formdata.rs b/components/script/dom/formdata.rs
index 8bbd46833b3..2c8f99b424b 100644
--- a/components/script/dom/formdata.rs
+++ b/components/script/dom/formdata.rs
@@ -152,7 +152,7 @@ impl FormData {
let bytes = blob.get_bytes().unwrap_or(vec![]);
- File::new(&self.global_scope(), BlobImpl::new_from_bytes(bytes), name, None, "")
+ File::new(&self.global(), BlobImpl::new_from_bytes(bytes), name, None, "")
}
pub fn datums(&self) -> Vec<FormDatum> {