diff options
author | bors-servo <lbergstrom+bors@mozilla.com> | 2016-01-10 22:55:15 +0530 |
---|---|---|
committer | bors-servo <lbergstrom+bors@mozilla.com> | 2016-01-10 22:55:15 +0530 |
commit | 99d01422931cee3ee0b51d7546796de6d09fb7a0 (patch) | |
tree | e9f1008cc59505a49261db299d38fc50ed7a5ade /components/script/dom/htmlcollection.rs | |
parent | d3889b4be43eb4d637f2d1ac5d021603653601eb (diff) | |
parent | bff8947e43dbdf3b004b597bf30cde24616807f3 (diff) | |
download | servo-99d01422931cee3ee0b51d7546796de6d09fb7a0.tar.gz servo-99d01422931cee3ee0b51d7546796de6d09fb7a0.zip |
Auto merge of #9237 - frewsxcv:htmlformelement-elements, r=KiChjang
Implement HTMLFormElement::Elements
Fixes #8566
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/9237)
<!-- Reviewable:end -->
Diffstat (limited to 'components/script/dom/htmlcollection.rs')
-rw-r--r-- | components/script/dom/htmlcollection.rs | 2 |
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), |