diff options
Diffstat (limited to 'components/script/dom/webgpu/gpubindgroup.rs')
-rw-r--r-- | components/script/dom/webgpu/gpubindgroup.rs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/components/script/dom/webgpu/gpubindgroup.rs b/components/script/dom/webgpu/gpubindgroup.rs index bb698210c93..c542046ae27 100644 --- a/components/script/dom/webgpu/gpubindgroup.rs +++ b/components/script/dom/webgpu/gpubindgroup.rs @@ -19,6 +19,7 @@ use crate::dom::bindings::str::USVString; use crate::dom::globalscope::GlobalScope; use crate::dom::webgpu::gpubindgrouplayout::GPUBindGroupLayout; use crate::dom::webgpu::gpudevice::GPUDevice; +use crate::script_runtime::CanGc; #[dom_struct] pub struct GPUBindGroup { @@ -65,6 +66,7 @@ impl GPUBindGroup { channel, bind_group, device, layout, label, )), global, + CanGc::note(), ) } } |