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.rs2
1 files changed, 2 insertions, 0 deletions
diff --git a/components/script/dom/webgpu/gpucomputepipeline.rs b/components/script/dom/webgpu/gpucomputepipeline.rs
index a5d0997e3a3..8a0cf4ab6e1 100644
--- a/components/script/dom/webgpu/gpucomputepipeline.rs
+++ b/components/script/dom/webgpu/gpucomputepipeline.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 GPUComputePipeline {
@@ -60,6 +61,7 @@ impl GPUComputePipeline {
device,
)),
global,
+ CanGc::note(),
)
}
}