mirror of
https://github.com/servo/servo.git
synced 2025-07-22 23:03:42 +01:00
Privatize EventTarget and EventListenerEntry
This commit is contained in:
parent
ba073d7e99
commit
df60f8b2c5
82 changed files with 91 additions and 84 deletions
|
@ -22,7 +22,7 @@ pub struct HTMLDataElement {
|
|||
|
||||
impl HTMLDataElementDerived for EventTarget {
|
||||
fn is_htmldataelement(&self) -> bool {
|
||||
self.type_id == NodeTargetTypeId(ElementNodeTypeId(HTMLDataElementTypeId))
|
||||
*self.type_id() == NodeTargetTypeId(ElementNodeTypeId(HTMLDataElementTypeId))
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue