diff options
author | Tim Taubert <tim@timtaubert.de> | 2014-10-12 13:24:24 +0200 |
---|---|---|
committer | Tim Taubert <tim@timtaubert.de> | 2014-10-13 13:25:43 +0200 |
commit | df60f8b2c559cb4119b96174231fc4161bdcb4da (patch) | |
tree | fccb11a69c7f0a9b3762c374fc773fa7594caee2 /components/script/dom/htmlelement.rs | |
parent | ba073d7e99b11ce4fad34696d2b5c13b69026fd5 (diff) | |
download | servo-df60f8b2c559cb4119b96174231fc4161bdcb4da.tar.gz servo-df60f8b2c559cb4119b96174231fc4161bdcb4da.zip |
Privatize EventTarget and EventListenerEntry
Diffstat (limited to 'components/script/dom/htmlelement.rs')
-rw-r--r-- | components/script/dom/htmlelement.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/components/script/dom/htmlelement.rs b/components/script/dom/htmlelement.rs index cc920a50c42..00ea736a07f 100644 --- a/components/script/dom/htmlelement.rs +++ b/components/script/dom/htmlelement.rs @@ -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 |