More CanGc fixes (#33888)

Signed-off-by: L Ashwin B <lashwinib@gmail.com>
This commit is contained in:
chickenleaf 2024-10-18 01:06:42 +05:30 committed by GitHub
parent 720d632170
commit 9c893c7f4d
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
25 changed files with 102 additions and 58 deletions

View file

@ -45,17 +45,10 @@ impl CloseEvent {
wasClean: bool,
code: u16,
reason: DOMString,
can_gc: CanGc,
) -> DomRoot<CloseEvent> {
Self::new_with_proto(
global,
None,
type_,
bubbles,
cancelable,
wasClean,
code,
reason,
CanGc::note(),
global, None, type_, bubbles, cancelable, wasClean, code, reason, can_gc,
)
}