CanGc fixes in focusevent.rs oscillartornode.rs response.rs resizeobserversize.rs animationevent.rs (#33827)

Signed-off-by: L Ashwin B <lashwinib@gmail.com>
This commit is contained in:
chickenleaf 2024-10-14 03:05:59 +05:30 committed by GitHub
parent 92f12ff7cd
commit fc0835bae3
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
12 changed files with 65 additions and 28 deletions

View file

@ -38,8 +38,13 @@ impl AnimationEvent {
}
}
pub fn new(window: &Window, type_: Atom, init: &AnimationEventInit) -> DomRoot<AnimationEvent> {
Self::new_with_proto(window, None, type_, init, CanGc::note())
pub fn new(
window: &Window,
type_: Atom,
init: &AnimationEventInit,
can_gc: CanGc,
) -> DomRoot<AnimationEvent> {
Self::new_with_proto(window, None, type_, init, can_gc)
}
fn new_with_proto(