diff options
author | chickenleaf <lashwinib@gmail.com> | 2024-10-18 01:06:42 +0530 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-10-17 19:36:42 +0000 |
commit | 9c893c7f4def4ffa635587ea85d5e4c3ba6ecac3 (patch) | |
tree | 518458a88cf4042e636a69b214d30506723d5eb0 /components/script/dom/gpuuncapturederrorevent.rs | |
parent | 720d6321707722062647914885e398d4eb1e53c9 (diff) | |
download | servo-9c893c7f4def4ffa635587ea85d5e4c3ba6ecac3.tar.gz servo-9c893c7f4def4ffa635587ea85d5e4c3ba6ecac3.zip |
More CanGc fixes (#33888)
Signed-off-by: L Ashwin B <lashwinib@gmail.com>
Diffstat (limited to 'components/script/dom/gpuuncapturederrorevent.rs')
-rw-r--r-- | components/script/dom/gpuuncapturederrorevent.rs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/components/script/dom/gpuuncapturederrorevent.rs b/components/script/dom/gpuuncapturederrorevent.rs index f1a93809f75..262c8207d7e 100644 --- a/components/script/dom/gpuuncapturederrorevent.rs +++ b/components/script/dom/gpuuncapturederrorevent.rs @@ -37,8 +37,9 @@ impl GPUUncapturedErrorEvent { global: &GlobalScope, type_: DOMString, init: &GPUUncapturedErrorEventInit, + can_gc: CanGc, ) -> DomRoot<Self> { - Self::new_with_proto(global, None, type_, init, CanGc::note()) + Self::new_with_proto(global, None, type_, init, can_gc) } fn new_with_proto( |