mirror of
https://github.com/servo/servo.git
synced 2025-08-06 22:15:33 +01:00
refactor: propagate CanGc arguments through callers (#35591)
Signed-off-by: Auguste Baum <auguste.apple@gmail.com>
This commit is contained in:
parent
02199520f2
commit
b0b0289014
74 changed files with 403 additions and 275 deletions
|
@ -81,14 +81,10 @@ impl TouchEvent {
|
|||
alt_key: bool,
|
||||
shift_key: bool,
|
||||
meta_key: bool,
|
||||
can_gc: CanGc,
|
||||
) -> DomRoot<TouchEvent> {
|
||||
let ev = TouchEvent::new_uninitialized(
|
||||
window,
|
||||
touches,
|
||||
changed_touches,
|
||||
target_touches,
|
||||
CanGc::note(),
|
||||
);
|
||||
let ev =
|
||||
TouchEvent::new_uninitialized(window, touches, changed_touches, target_touches, can_gc);
|
||||
ev.upcast::<UIEvent>().InitUIEvent(
|
||||
type_,
|
||||
bool::from(can_bubble),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue