mirror of
https://github.com/servo/servo
synced 2026-05-05 06:32:13 +02:00
Privatize EventTarget and EventListenerEntry
This commit is contained in:
@@ -29,7 +29,7 @@ pub struct HTMLBodyElement {
|
||||
|
||||
impl HTMLBodyElementDerived for EventTarget {
|
||||
fn is_htmlbodyelement(&self) -> bool {
|
||||
self.type_id == NodeTargetTypeId(ElementNodeTypeId(HTMLBodyElementTypeId))
|
||||
*self.type_id() == NodeTargetTypeId(ElementNodeTypeId(HTMLBodyElementTypeId))
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user