aboutsummaryrefslogtreecommitdiffstats
path: root/components/script/dom/webgpu/gpucommandbuffer.rs
diff options
context:
space:
mode:
Diffstat (limited to 'components/script/dom/webgpu/gpucommandbuffer.rs')
-rw-r--r--components/script/dom/webgpu/gpucommandbuffer.rs3
1 files changed, 2 insertions, 1 deletions
diff --git a/components/script/dom/webgpu/gpucommandbuffer.rs b/components/script/dom/webgpu/gpucommandbuffer.rs
index 0ffc2ea7a0e..3492d53faa8 100644
--- a/components/script/dom/webgpu/gpucommandbuffer.rs
+++ b/components/script/dom/webgpu/gpucommandbuffer.rs
@@ -43,6 +43,7 @@ impl GPUCommandBuffer {
channel: WebGPU,
command_buffer: WebGPUCommandBuffer,
label: USVString,
+ can_gc: CanGc,
) -> DomRoot<Self> {
reflect_dom_object(
Box::new(GPUCommandBuffer::new_inherited(
@@ -51,7 +52,7 @@ impl GPUCommandBuffer {
label,
)),
global,
- CanGc::note(),
+ can_gc,
)
}
}