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
|
@ -1484,6 +1484,7 @@ impl ScriptThread {
|
|||
point: Point2D<f32>,
|
||||
node_address: Option<UntrustedNodeAddress>,
|
||||
pressed_mouse_buttons: u16,
|
||||
can_gc: CanGc,
|
||||
) {
|
||||
// Get the previous target temporarily
|
||||
let prev_mouse_over_target = self.topmost_mouse_over_target.get();
|
||||
|
@ -1494,6 +1495,7 @@ impl ScriptThread {
|
|||
&self.topmost_mouse_over_target,
|
||||
node_address,
|
||||
pressed_mouse_buttons,
|
||||
can_gc,
|
||||
)
|
||||
}
|
||||
|
||||
|
@ -1592,6 +1594,7 @@ impl ScriptThread {
|
|||
point,
|
||||
node_address,
|
||||
pressed_mouse_buttons,
|
||||
can_gc,
|
||||
);
|
||||
},
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue