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.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/components/script/dom/blob.rs b/components/script/dom/blob.rs
index 2018a12ae88..86f967764c1 100644
--- a/components/script/dom/blob.rs
+++ b/components/script/dom/blob.rs
@@ -125,7 +125,7 @@ impl Serializable for Blob {
/// <https://w3c.github.io/FileAPI/#ref-for-deserialization-steps>
fn deserialize(
- owner: &DomRoot<GlobalScope>,
+ owner: &GlobalScope,
sc_holder: &mut StructuredDataHolder,
storage_key: StorageKey,
) -> Result<(), ()> {
@@ -159,7 +159,7 @@ impl Serializable for Blob {
*blob_impls = None;
}
- let deserialized_blob = Blob::new(&**owner, blob_impl);
+ let deserialized_blob = Blob::new(&*owner, blob_impl);
let blobs = blobs.get_or_insert_with(|| HashMap::new());
blobs.insert(storage_key, deserialized_blob);