Privatize EventTarget and EventListenerEntry

This commit is contained in:
Tim Taubert 2014-10-12 13:24:24 +02:00
parent ba073d7e99
commit df60f8b2c5
82 changed files with 91 additions and 84 deletions

View file

@ -27,7 +27,7 @@ pub struct HTMLOptGroupElement {
impl HTMLOptGroupElementDerived for EventTarget {
fn is_htmloptgroupelement(&self) -> bool {
self.type_id == NodeTargetTypeId(ElementNodeTypeId(HTMLOptGroupElementTypeId))
*self.type_id() == NodeTargetTypeId(ElementNodeTypeId(HTMLOptGroupElementTypeId))
}
}