aboutsummaryrefslogtreecommitdiffstats
path: root/components/script/script_thread.rs
diff options
context:
space:
mode:
Diffstat (limited to 'components/script/script_thread.rs')
-rw-r--r--components/script/script_thread.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/components/script/script_thread.rs b/components/script/script_thread.rs
index 4ded0c6632a..d25c58db0d8 100644
--- a/components/script/script_thread.rs
+++ b/components/script/script_thread.rs
@@ -2102,6 +2102,7 @@ impl ScriptThread {
result,
} => {
let global = self.documents.borrow().find_global(pipeline_id).unwrap();
+ let _ac = enter_realm(&*global);
global.handle_wgpu_msg(device, scope_id, result);
},
WebGPUMsg::CleanDevice {