CanGc fixes in components/script/dom (#33843)

Signed-off-by: taniishkaaa <tanishkasingh2004@gmail.com>
This commit is contained in:
tanishka 2024-10-15 10:15:16 +05:30 committed by GitHub
parent 1e39787573
commit 46d6c0c883
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
9 changed files with 21 additions and 24 deletions

View file

@ -61,20 +61,11 @@ impl WheelEvent {
delta_y: Finite<f64>,
delta_z: Finite<f64>,
delta_mode: u32,
can_gc: CanGc,
) -> DomRoot<WheelEvent> {
Self::new_with_proto(
window,
None,
type_,
can_bubble,
cancelable,
view,
detail,
delta_x,
delta_y,
delta_z,
delta_mode,
CanGc::note(),
window, None, type_, can_bubble, cancelable, view, detail, delta_x, delta_y, delta_z,
delta_mode, can_gc,
)
}