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