diff options
Diffstat (limited to 'components/script/dom/webgpu/gpucommandbuffer.rs')
-rw-r--r-- | components/script/dom/webgpu/gpucommandbuffer.rs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/components/script/dom/webgpu/gpucommandbuffer.rs b/components/script/dom/webgpu/gpucommandbuffer.rs index 120af69a480..c6a6c9a934d 100644 --- a/components/script/dom/webgpu/gpucommandbuffer.rs +++ b/components/script/dom/webgpu/gpucommandbuffer.rs @@ -11,6 +11,7 @@ use crate::dom::bindings::reflector::{reflect_dom_object, Reflector}; use crate::dom::bindings::root::DomRoot; use crate::dom::bindings::str::USVString; use crate::dom::globalscope::GlobalScope; +use crate::script_runtime::CanGc; #[dom_struct] pub struct GPUCommandBuffer { @@ -50,6 +51,7 @@ impl GPUCommandBuffer { label, )), global, + CanGc::note(), ) } } |