mirror of
https://github.com/servo/servo.git
synced 2025-08-05 13:40:08 +01:00
parent
6d49681c79
commit
bff8947e43
14 changed files with 142 additions and 68 deletions
|
@ -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),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue