mirror of
https://github.com/servo/servo.git
synced 2025-08-05 21:50:18 +01:00
Use an Atom for Event.type
This commit is contained in:
parent
601169c0e5
commit
0070adb71f
5 changed files with 27 additions and 21 deletions
|
@ -60,7 +60,7 @@ fn dispatch_to_listeners(event: &Event, target: &EventTarget, chain: &[&EventTar
|
|||
_ => None,
|
||||
};
|
||||
|
||||
let type_ = event.Type();
|
||||
let type_ = event.type_();
|
||||
|
||||
/* capturing */
|
||||
event.set_phase(EventPhase::Capturing);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue