aboutsummaryrefslogtreecommitdiffstats
path: root/src/components/script/dom/htmltablesectionelement.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/components/script/dom/htmltablesectionelement.rs')
-rw-r--r--src/components/script/dom/htmltablesectionelement.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/components/script/dom/htmltablesectionelement.rs b/src/components/script/dom/htmltablesectionelement.rs
index 4d22c72a2e1..6f80dc04e9a 100644
--- a/src/components/script/dom/htmltablesectionelement.rs
+++ b/src/components/script/dom/htmltablesectionelement.rs
@@ -14,13 +14,13 @@ pub struct HTMLTableSectionElement {
}
impl HTMLTableSectionElement {
- pub fn new_inherited(localName: ~str, document: AbstractDocument) -> HTMLTableSectionElement {
+ pub fn new_inherited(localName: DOMString, document: AbstractDocument) -> HTMLTableSectionElement {
HTMLTableSectionElement {
htmlelement: HTMLElement::new_inherited(HTMLTableSectionElementTypeId, localName, document)
}
}
- pub fn new(localName: ~str, document: AbstractDocument) -> AbstractNode {
+ pub fn new(localName: DOMString, document: AbstractDocument) -> AbstractNode {
let element = HTMLTableSectionElement::new_inherited(localName, document);
Node::reflect_node(@mut element, document, HTMLTableSectionElementBinding::Wrap)
}