diff options
Diffstat (limited to 'components/script/dom/webgpu/gputexture.rs')
-rw-r--r-- | components/script/dom/webgpu/gputexture.rs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/components/script/dom/webgpu/gputexture.rs b/components/script/dom/webgpu/gputexture.rs index 9a136165dff..04680f42652 100644 --- a/components/script/dom/webgpu/gputexture.rs +++ b/components/script/dom/webgpu/gputexture.rs @@ -22,6 +22,7 @@ use crate::dom::bindings::str::USVString; use crate::dom::globalscope::GlobalScope; use crate::dom::webgpu::gpudevice::GPUDevice; use crate::dom::webgpu::gputextureview::GPUTextureView; +use crate::script_runtime::CanGc; #[dom_struct] pub struct GPUTexture { @@ -100,6 +101,7 @@ impl GPUTexture { label, )), global, + CanGc::note(), ) } } |