aboutsummaryrefslogtreecommitdiffstats
path: root/components/script/dom/htmlcollection.rs
diff options
context:
space:
mode:
authorCorey Farwell <coreyf@rwell.org>2016-01-09 13:10:26 -0500
committerCorey Farwell <coreyf@rwell.org>2016-01-10 12:08:24 -0500
commitbff8947e43dbdf3b004b597bf30cde24616807f3 (patch)
treedc859b9fb6584ad13dc50e4e069f22611c331fc1 /components/script/dom/htmlcollection.rs
parent6d49681c7996735243e033223dd123e52ccd06b9 (diff)
downloadservo-bff8947e43dbdf3b004b597bf30cde24616807f3.tar.gz
servo-bff8947e43dbdf3b004b597bf30cde24616807f3.zip
Implement HTMLFormElement::Elements
Fixes #8566
Diffstat (limited to 'components/script/dom/htmlcollection.rs')
-rw-r--r--components/script/dom/htmlcollection.rs2
1 files changed, 1 insertions, 1 deletions
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<CollectionFilter + 'static>) -> HTMLCollection {
+ pub fn new_inherited(root: &Node, filter: Box<CollectionFilter + 'static>) -> HTMLCollection {
HTMLCollection {
reflector_: Reflector::new(),
root: JS::from_ref(root),