From bff8947e43dbdf3b004b597bf30cde24616807f3 Mon Sep 17 00:00:00 2001 From: Corey Farwell Date: Sat, 9 Jan 2016 13:10:26 -0500 Subject: Implement HTMLFormElement::Elements Fixes #8566 --- components/script/dom/htmlcollection.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'components/script/dom/htmlcollection.rs') diff --git a/components/script/dom/htmlcollection.rs b/components/script/dom/htmlcollection.rs index 1e80481ac68..ec71502bf42 100644 --- a/components/script/dom/htmlcollection.rs +++ b/components/script/dom/htmlcollection.rs @@ -66,7 +66,7 @@ pub struct HTMLCollection { impl HTMLCollection { #[allow(unrooted_must_root)] - fn new_inherited(root: &Node, filter: Box) -> HTMLCollection { + pub fn new_inherited(root: &Node, filter: Box) -> HTMLCollection { HTMLCollection { reflector_: Reflector::new(), root: JS::from_ref(root), -- cgit v1.2.3