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