aboutsummaryrefslogtreecommitdiffstats
path: root/src/components/script/dom/htmlformelement.rs
diff options
context:
space:
mode:
authorBruno de Oliveira Abinader <bruno.d@partner.samsung.com>2014-03-20 18:27:30 -0400
committerBruno de Oliveira Abinader <bruno.d@partner.samsung.com>2014-03-26 08:59:59 -0400
commit904e4648241ac3f6a803a7870d65dbfc460ca7c5 (patch)
tree161324ad5fd10c549d9f04cda51daca24d40c70f /src/components/script/dom/htmlformelement.rs
parentf34a64049a8b6dede424d35345db63bc60b5e423 (diff)
downloadservo-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.rs4
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 {