aboutsummaryrefslogtreecommitdiffstats
path: root/components/script/dom/gpudevice.rs
diff options
context:
space:
mode:
authortanishka <109246904+taniishkaaa@users.noreply.github.com>2024-10-20 21:37:15 +0530
committerGitHub <noreply@github.com>2024-10-20 16:07:15 +0000
commit65c866285f69d4c26ae46e604bcc05dda1641df7 (patch)
treee079194aa0d60f5df522fb10911b3ea9914774df /components/script/dom/gpudevice.rs
parentee9e1fbbd6f64d95392e0d501ee423bceeb15f7f (diff)
downloadservo-65c866285f69d4c26ae46e604bcc05dda1641df7.tar.gz
servo-65c866285f69d4c26ae46e604bcc05dda1641df7.zip
Multiple CanGc fixes in components/script/dom (#33924)
Signed-off-by: taniishkaaa <tanishkasingh2004@gmail.com>
Diffstat (limited to 'components/script/dom/gpudevice.rs')
-rw-r--r--components/script/dom/gpudevice.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/components/script/dom/gpudevice.rs b/components/script/dom/gpudevice.rs
index b3aae263d4e..840f6991292 100644
--- a/components/script/dom/gpudevice.rs
+++ b/components/script/dom/gpudevice.rs
@@ -206,7 +206,7 @@ impl GPUDevice {
},
can_gc,
);
- let _ = self.eventtarget.DispatchEvent(ev.event());
+ let _ = self.eventtarget.DispatchEvent(ev.event(), can_gc);
}
/// <https://gpuweb.github.io/gpuweb/#abstract-opdef-validate-texture-format-required-features>