aboutsummaryrefslogtreecommitdiffstats
path: root/components/script/dom/node.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/node.rs
parentba073d7e99b11ce4fad34696d2b5c13b69026fd5 (diff)
downloadservo-df60f8b2c559cb4119b96174231fc4161bdcb4da.tar.gz
servo-df60f8b2c559cb4119b96174231fc4161bdcb4da.zip
Privatize EventTarget and EventListenerEntry
Diffstat (limited to 'components/script/dom/node.rs')
-rw-r--r--components/script/dom/node.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/components/script/dom/node.rs b/components/script/dom/node.rs
index 8ff8b29eca6..8a2179a0760 100644
--- a/components/script/dom/node.rs
+++ b/components/script/dom/node.rs
@@ -115,7 +115,7 @@ pub struct Node {
impl NodeDerived for EventTarget {
fn is_node(&self) -> bool {
- match self.type_id {
+ match *self.type_id() {
NodeTargetTypeId(_) => true,
_ => false
}