From ae6af5172b5f09e9ba19d0beca026fd0ac39f8c8 Mon Sep 17 00:00:00 2001 From: Anthony Ramine Date: Sat, 1 Oct 2016 18:15:15 +0200 Subject: Introduce Reflectable::global_scope --- components/script/dom/blob.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'components/script/dom/blob.rs') 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 -- cgit v1.2.3