aboutsummaryrefslogtreecommitdiffstats
path: root/components/script/dom/blob.rs
diff options
context:
space:
mode:
authorAarya Khandelwal <119049564+Aaryakhandelwal@users.noreply.github.com>2024-03-26 14:07:44 +0530
committerGitHub <noreply@github.com>2024-03-26 08:37:44 +0000
commitf7669b5238ce9e2a94495472bf77f67b0e311cd8 (patch)
treebe0ade4499aadc0719dcdb8eb320457e5ed27fa8 /components/script/dom/blob.rs
parent585e0d69cdf00319125fa7260fde9cd16d57b2d8 (diff)
downloadservo-f7669b5238ce9e2a94495472bf77f67b0e311cd8.tar.gz
servo-f7669b5238ce9e2a94495472bf77f67b0e311cd8.zip
fixes dereferencing on an immutable reference (#31864)
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 e5b4f8e117d..38d6e0c4012 100644
--- a/components/script/dom/blob.rs
+++ b/components/script/dom/blob.rs
@@ -180,7 +180,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);