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