mirror of
https://github.com/servo/servo.git
synced 2025-08-06 06:00:15 +01:00
Privatize EventTarget and EventListenerEntry
This commit is contained in:
parent
ba073d7e99
commit
df60f8b2c5
82 changed files with 91 additions and 84 deletions
|
@ -29,7 +29,7 @@ pub struct HTMLElement {
|
|||
|
||||
impl HTMLElementDerived for EventTarget {
|
||||
fn is_htmlelement(&self) -> bool {
|
||||
match self.type_id {
|
||||
match *self.type_id() {
|
||||
NodeTargetTypeId(ElementNodeTypeId(ElementTypeId_)) => false,
|
||||
NodeTargetTypeId(ElementNodeTypeId(_)) => true,
|
||||
_ => false
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue