Introduce Reflectable::global_scope

This commit is contained in:
Anthony Ramine 2016-10-01 18:15:15 +02:00
parent 27f100b1d4
commit ae6af5172b
30 changed files with 116 additions and 120 deletions

View file

@ -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