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/htmloptionelement.rs | |
parent | ba073d7e99b11ce4fad34696d2b5c13b69026fd5 (diff) | |
download | servo-df60f8b2c559cb4119b96174231fc4161bdcb4da.tar.gz servo-df60f8b2c559cb4119b96174231fc4161bdcb4da.zip |
Privatize EventTarget and EventListenerEntry
Diffstat (limited to 'components/script/dom/htmloptionelement.rs')
-rw-r--r-- | components/script/dom/htmloptionelement.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/components/script/dom/htmloptionelement.rs b/components/script/dom/htmloptionelement.rs index 8c1c5b0989e..715f0d6f1f5 100644 --- a/components/script/dom/htmloptionelement.rs +++ b/components/script/dom/htmloptionelement.rs @@ -31,7 +31,7 @@ pub struct HTMLOptionElement { impl HTMLOptionElementDerived for EventTarget { fn is_htmloptionelement(&self) -> bool { - self.type_id == NodeTargetTypeId(ElementNodeTypeId(HTMLOptionElementTypeId)) + *self.type_id() == NodeTargetTypeId(ElementNodeTypeId(HTMLOptionElementTypeId)) } } |