Make static HTMLCollections use Vec.

This commit is contained in:
Ms2ger 2014-04-26 11:04:06 +02:00
parent 251e22266e
commit cc23a324e5
3 changed files with 4 additions and 3 deletions

View file

@ -118,7 +118,7 @@ impl HTMLFormElement {
// FIXME: https://github.com/mozilla/servo/issues/1844
let doc = self.htmlelement.element.node.owner_doc();
let doc = doc.get();
HTMLCollection::new(&doc.window, Static(~[]))
HTMLCollection::new(&doc.window, Static(vec!()))
}
pub fn Length(&self) -> i32 {