diff options
Diffstat (limited to 'components/script/dom/webgpu/gpubindgrouplayout.rs')
-rw-r--r-- | components/script/dom/webgpu/gpubindgrouplayout.rs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/components/script/dom/webgpu/gpubindgrouplayout.rs b/components/script/dom/webgpu/gpubindgrouplayout.rs index 9a57b704598..565753c9830 100644 --- a/components/script/dom/webgpu/gpubindgrouplayout.rs +++ b/components/script/dom/webgpu/gpubindgrouplayout.rs @@ -75,6 +75,7 @@ impl GPUBindGroupLayout { pub(crate) fn create( device: &GPUDevice, descriptor: &GPUBindGroupLayoutDescriptor, + can_gc: CanGc, ) -> Fallible<DomRoot<GPUBindGroupLayout>> { let entries = descriptor .entries @@ -111,7 +112,7 @@ impl GPUBindGroupLayout { device.channel().clone(), bgl, descriptor.parent.label.clone(), - CanGc::note(), + can_gc, )) } } |