mirror of
https://github.com/servo/servo.git
synced 2025-08-06 14:10:11 +01:00
CanGc fixes in components/script/dom (#33843)
Signed-off-by: taniishkaaa <tanishkasingh2004@gmail.com>
This commit is contained in:
parent
1e39787573
commit
46d6c0c883
9 changed files with 21 additions and 24 deletions
|
@ -43,8 +43,9 @@ impl TransitionEvent {
|
|||
window: &Window,
|
||||
type_: Atom,
|
||||
init: &TransitionEventInit,
|
||||
can_gc: CanGc,
|
||||
) -> DomRoot<TransitionEvent> {
|
||||
Self::new_with_proto(window, None, type_, init, CanGc::note())
|
||||
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