mirror of
https://github.com/servo/servo.git
synced 2025-08-05 05:30:08 +01:00
Privatize Event
This commit is contained in:
parent
28061b1c91
commit
cd9de05088
8 changed files with 95 additions and 39 deletions
|
@ -27,7 +27,7 @@ pub struct CustomEvent {
|
|||
|
||||
impl CustomEventDerived for Event {
|
||||
fn is_customevent(&self) -> bool {
|
||||
self.type_id == CustomEventTypeId
|
||||
*self.type_id() == CustomEventTypeId
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue