aboutsummaryrefslogtreecommitdiffstats
path: root/components/script/dom/blob.rs
diff options
context:
space:
mode:
Diffstat (limited to 'components/script/dom/blob.rs')
-rw-r--r--components/script/dom/blob.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/components/script/dom/blob.rs b/components/script/dom/blob.rs
index 011f547c96a..997edb52d6c 100644
--- a/components/script/dom/blob.rs
+++ b/components/script/dom/blob.rs
@@ -117,7 +117,7 @@ impl Blob {
}
};
- Blob::new(parent.global().r().as_global_scope(), blob_impl, relative_content_type.into())
+ Blob::new(&parent.global_scope(), blob_impl, relative_content_type.into())
}
// https://w3c.github.io/FileAPI/#constructorBlob