aboutsummaryrefslogtreecommitdiffstats
path: root/components/script/dom/htmllabelelement.rs
diff options
context:
space:
mode:
authorTim Taubert <tim@timtaubert.de>2014-10-12 13:24:24 +0200
committerTim Taubert <tim@timtaubert.de>2014-10-13 13:25:43 +0200
commitdf60f8b2c559cb4119b96174231fc4161bdcb4da (patch)
treefccb11a69c7f0a9b3762c374fc773fa7594caee2 /components/script/dom/htmllabelelement.rs
parentba073d7e99b11ce4fad34696d2b5c13b69026fd5 (diff)
downloadservo-df60f8b2c559cb4119b96174231fc4161bdcb4da.tar.gz
servo-df60f8b2c559cb4119b96174231fc4161bdcb4da.zip
Privatize EventTarget and EventListenerEntry
Diffstat (limited to 'components/script/dom/htmllabelelement.rs')
-rw-r--r--components/script/dom/htmllabelelement.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/components/script/dom/htmllabelelement.rs b/components/script/dom/htmllabelelement.rs
index 2b4b9aa2da9..59fe5479f53 100644
--- a/components/script/dom/htmllabelelement.rs
+++ b/components/script/dom/htmllabelelement.rs
@@ -22,7 +22,7 @@ pub struct HTMLLabelElement {
impl HTMLLabelElementDerived for EventTarget {
fn is_htmllabelelement(&self) -> bool {
- self.type_id == NodeTargetTypeId(ElementNodeTypeId(HTMLLabelElementTypeId))
+ *self.type_id() == NodeTargetTypeId(ElementNodeTypeId(HTMLLabelElementTypeId))
}
}