diff options
author | Anthony Ramine <n.oxyde@gmail.com> | 2015-08-27 01:55:47 +0200 |
---|---|---|
committer | Anthony Ramine <n.oxyde@gmail.com> | 2015-08-27 16:59:03 +0200 |
commit | 275907f256814e492c53086f455938f11fedaf42 (patch) | |
tree | e54707f53d447c698cb36522b3081c1bf9999feb /components/script/dom/nodeiterator.rs | |
parent | c831c2c0a528b6a04b355cc51169023f8c29b761 (diff) | |
download | servo-275907f256814e492c53086f455938f11fedaf42.tar.gz servo-275907f256814e492c53086f455938f11fedaf42.zip |
Remove dead code that surfaced when moved outside helper trait
Diffstat (limited to 'components/script/dom/nodeiterator.rs')
-rw-r--r-- | components/script/dom/nodeiterator.rs | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/components/script/dom/nodeiterator.rs b/components/script/dom/nodeiterator.rs index c45e84e182f..31b90309c33 100644 --- a/components/script/dom/nodeiterator.rs +++ b/components/script/dom/nodeiterator.rs @@ -208,10 +208,6 @@ impl NodeIterator { Filter::Callback(ref callback) => callback.AcceptNode_(self, node, Rethrow) } } - - fn is_root_node(&self, node: &Node) -> bool { - JS::from_ref(node) == self.root_node - } } |