aboutsummaryrefslogtreecommitdiffstats
path: root/components/script/dom/nodelist.rs
diff options
context:
space:
mode:
authorManish Goregaokar <manishsmail@gmail.com>2014-09-17 00:51:20 +0530
committerManish Goregaokar <manishsmail@gmail.com>2014-09-17 01:02:41 +0530
commit30014c3919f5ad30d491074dafbfdaad0fb0de92 (patch)
tree12c75bb55e42abff8cceaeaf6b3d28c497f45102 /components/script/dom/nodelist.rs
parentf0b8391762f37a6e50dfb7a46b461fc8f9414d57 (diff)
downloadservo-30014c3919f5ad30d491074dafbfdaad0fb0de92.tar.gz
servo-30014c3919f5ad30d491074dafbfdaad0fb0de92.zip
Make Reflector #[must_root], propagate to non-HTMLElements
Diffstat (limited to 'components/script/dom/nodelist.rs')
-rw-r--r--components/script/dom/nodelist.rs2
1 files changed, 0 insertions, 2 deletions
diff --git a/components/script/dom/nodelist.rs b/components/script/dom/nodelist.rs
index 0ebd2e0db25..322c70c3135 100644
--- a/components/script/dom/nodelist.rs
+++ b/components/script/dom/nodelist.rs
@@ -25,7 +25,6 @@ pub struct NodeList {
}
impl NodeList {
- #[allow(unrooted_must_root)]
pub fn new_inherited(list_type: NodeListType) -> NodeList {
NodeList {
list_type: list_type,
@@ -33,7 +32,6 @@ impl NodeList {
}
}
- #[allow(unrooted_must_root)]
pub fn new(window: &JSRef<Window>,
list_type: NodeListType) -> Temporary<NodeList> {
reflect_dom_object(box NodeList::new_inherited(list_type),