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/comment.rs | |
parent | ba073d7e99b11ce4fad34696d2b5c13b69026fd5 (diff) | |
download | servo-df60f8b2c559cb4119b96174231fc4161bdcb4da.tar.gz servo-df60f8b2c559cb4119b96174231fc4161bdcb4da.zip |
Privatize EventTarget and EventListenerEntry
Diffstat (limited to 'components/script/dom/comment.rs')
-rw-r--r-- | components/script/dom/comment.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/components/script/dom/comment.rs b/components/script/dom/comment.rs index 335b9744138..8da33dab01f 100644 --- a/components/script/dom/comment.rs +++ b/components/script/dom/comment.rs @@ -25,7 +25,7 @@ pub struct Comment { impl CommentDerived for EventTarget { fn is_comment(&self) -> bool { - self.type_id == NodeTargetTypeId(CommentNodeTypeId) + *self.type_id() == NodeTargetTypeId(CommentNodeTypeId) } } |