mirror of
https://github.com/servo/servo
synced 2026-05-01 20:07:22 +02:00
Privatize EventTarget and EventListenerEntry
This commit is contained in:
@@ -22,7 +22,7 @@ pub struct HTMLTableSectionElement {
|
||||
|
||||
impl HTMLTableSectionElementDerived for EventTarget {
|
||||
fn is_htmltablesectionelement(&self) -> bool {
|
||||
self.type_id == NodeTargetTypeId(ElementNodeTypeId(HTMLTableSectionElementTypeId))
|
||||
*self.type_id() == NodeTargetTypeId(ElementNodeTypeId(HTMLTableSectionElementTypeId))
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user