mirror of
https://github.com/servo/servo.git
synced 2025-08-05 21:50:18 +01:00
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:
parent
92f12ff7cd
commit
fc0835bae3
12 changed files with 65 additions and 28 deletions
|
@ -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(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue