mirror of
https://github.com/servo/servo.git
synced 2025-06-06 16:45:39 +00:00
Multiple CanGc fixes in components/script/dom (#33924)
Signed-off-by: taniishkaaa <tanishkasingh2004@gmail.com>
This commit is contained in:
parent
ee9e1fbbd6
commit
65c866285f
26 changed files with 77 additions and 37 deletions
|
@ -107,6 +107,7 @@ impl MouseEvent {
|
|||
buttons: u16,
|
||||
related_target: Option<&EventTarget>,
|
||||
point_in_target: Option<Point2D<f32>>,
|
||||
can_gc: CanGc,
|
||||
) -> DomRoot<MouseEvent> {
|
||||
Self::new_with_proto(
|
||||
window,
|
||||
|
@ -128,7 +129,7 @@ impl MouseEvent {
|
|||
buttons,
|
||||
related_target,
|
||||
point_in_target,
|
||||
CanGc::note(),
|
||||
can_gc,
|
||||
)
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue