mirror of
https://github.com/servo/servo.git
synced 2025-08-04 13:10:20 +01:00
Make static HTMLCollections use Vec.
This commit is contained in:
parent
251e22266e
commit
cc23a324e5
3 changed files with 4 additions and 3 deletions
|
@ -54,6 +54,6 @@ impl HTMLMapElement {
|
|||
// FIXME: https://github.com/mozilla/servo/issues/1845
|
||||
let doc = self.htmlelement.element.node.owner_doc();
|
||||
let doc = doc.get();
|
||||
HTMLCollection::new(&doc.window, Static(~[]))
|
||||
HTMLCollection::new(&doc.window, Static(vec!()))
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue