diff options
author | Bruno de Oliveira Abinader <bruno.d@partner.samsung.com> | 2014-03-20 18:27:30 -0400 |
---|---|---|
committer | Bruno de Oliveira Abinader <bruno.d@partner.samsung.com> | 2014-03-26 08:59:59 -0400 |
commit | 904e4648241ac3f6a803a7870d65dbfc460ca7c5 (patch) | |
tree | 161324ad5fd10c549d9f04cda51daca24d40c70f /src/components/script/dom/htmlformelement.rs | |
parent | f34a64049a8b6dede424d35345db63bc60b5e423 (diff) | |
download | servo-904e4648241ac3f6a803a7870d65dbfc460ca7c5.tar.gz servo-904e4648241ac3f6a803a7870d65dbfc460ca7c5.zip |
Added CollectionFilter, CollectionTypeId
Diffstat (limited to 'src/components/script/dom/htmlformelement.rs')
-rw-r--r-- | src/components/script/dom/htmlformelement.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/components/script/dom/htmlformelement.rs b/src/components/script/dom/htmlformelement.rs index a1ca7d5dc2f..cabb71cc1ea 100644 --- a/src/components/script/dom/htmlformelement.rs +++ b/src/components/script/dom/htmlformelement.rs @@ -9,7 +9,7 @@ use dom::bindings::error::ErrorResult; use dom::document::Document; use dom::element::{Element, HTMLFormElementTypeId}; use dom::eventtarget::{EventTarget, NodeTargetTypeId}; -use dom::htmlcollection::HTMLCollection; +use dom::htmlcollection::{HTMLCollection, Static}; use dom::htmlelement::HTMLElement; use dom::node::{Node, ElementNodeTypeId}; use servo_util::str::DOMString; @@ -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, ~[]) + HTMLCollection::new(&doc.window, Static(~[])) } pub fn Length(&self) -> i32 { |