aboutsummaryrefslogtreecommitdiffstats
path: root/components/script/dom/webgpu/gpu.rs
diff options
context:
space:
mode:
Diffstat (limited to 'components/script/dom/webgpu/gpu.rs')
-rw-r--r--components/script/dom/webgpu/gpu.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/components/script/dom/webgpu/gpu.rs b/components/script/dom/webgpu/gpu.rs
index 6cdd83878b5..5ee5d047113 100644
--- a/components/script/dom/webgpu/gpu.rs
+++ b/components/script/dom/webgpu/gpu.rs
@@ -41,7 +41,7 @@ impl GPU {
}
pub fn new(global: &GlobalScope) -> DomRoot<GPU> {
- reflect_dom_object(Box::new(GPU::new_inherited()), global)
+ reflect_dom_object(Box::new(GPU::new_inherited()), global, CanGc::note())
}
}