mirror of
https://github.com/servo/servo.git
synced 2025-08-03 20:50:07 +01:00
CanGc fixes through focusevent.rs & hashchangeevent.rs (#33921)
Signed-off-by: taniishkaaa <tanishkasingh2004@gmail.com>
This commit is contained in:
parent
d0d02cd56c
commit
a57b6a3f79
20 changed files with 140 additions and 69 deletions
|
@ -55,6 +55,7 @@ impl FocusEvent {
|
|||
view: Option<&Window>,
|
||||
detail: i32,
|
||||
related_target: Option<&EventTarget>,
|
||||
can_gc: CanGc,
|
||||
) -> DomRoot<FocusEvent> {
|
||||
Self::new_with_proto(
|
||||
window,
|
||||
|
@ -65,7 +66,7 @@ impl FocusEvent {
|
|||
view,
|
||||
detail,
|
||||
related_target,
|
||||
CanGc::note(),
|
||||
can_gc,
|
||||
)
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue