aboutsummaryrefslogtreecommitdiffstats
path: root/components/script/dom/webgpu/gpucomputepipeline.rs
diff options
context:
space:
mode:
Diffstat (limited to 'components/script/dom/webgpu/gpucomputepipeline.rs')
-rw-r--r--components/script/dom/webgpu/gpucomputepipeline.rs4
1 files changed, 3 insertions, 1 deletions
diff --git a/components/script/dom/webgpu/gpucomputepipeline.rs b/components/script/dom/webgpu/gpucomputepipeline.rs
index 1ed91ecb4a4..161f6e639c6 100644
--- a/components/script/dom/webgpu/gpucomputepipeline.rs
+++ b/components/script/dom/webgpu/gpucomputepipeline.rs
@@ -53,6 +53,7 @@ impl GPUComputePipeline {
compute_pipeline: WebGPUComputePipeline,
label: USVString,
device: &GPUDevice,
+ can_gc: CanGc,
) -> DomRoot<Self> {
reflect_dom_object(
Box::new(GPUComputePipeline::new_inherited(
@@ -61,7 +62,7 @@ impl GPUComputePipeline {
device,
)),
global,
- CanGc::note(),
+ can_gc,
)
}
}
@@ -137,6 +138,7 @@ impl GPUComputePipelineMethods<crate::DomTypeHolder> for GPUComputePipeline {
self.channel.clone(),
WebGPUBindGroupLayout(id),
USVString::default(),
+ CanGc::note(),
))
}
}