mirror of
https://github.com/servo/servo.git
synced 2025-08-03 04:30:10 +01:00
Privatize EventTarget and EventListenerEntry
This commit is contained in:
parent
ba073d7e99
commit
df60f8b2c5
82 changed files with 91 additions and 84 deletions
|
@ -98,7 +98,7 @@ pub struct Document {
|
|||
|
||||
impl DocumentDerived for EventTarget {
|
||||
fn is_document(&self) -> bool {
|
||||
self.type_id == NodeTargetTypeId(DocumentNodeTypeId)
|
||||
*self.type_id() == NodeTargetTypeId(DocumentNodeTypeId)
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue