aboutsummaryrefslogtreecommitdiffstats
path: root/components/script/dom/worklet.rs
diff options
context:
space:
mode:
Diffstat (limited to 'components/script/dom/worklet.rs')
-rw-r--r--components/script/dom/worklet.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/components/script/dom/worklet.rs b/components/script/dom/worklet.rs
index 31aa09efeee..356ca99bf65 100644
--- a/components/script/dom/worklet.rs
+++ b/components/script/dom/worklet.rs
@@ -656,7 +656,7 @@ impl WorkletThread {
let script = load_whole_resource(
request,
&resource_fetcher,
- &global_scope.upcast::<GlobalScope>(),
+ global_scope.upcast::<GlobalScope>(),
)
.ok()
.and_then(|(_, bytes)| String::from_utf8(bytes).ok());