aboutsummaryrefslogtreecommitdiffstats
path: root/src/components/script/dom/htmldivelement.rs
diff options
context:
space:
mode:
authorMs2ger <ms2ger@gmail.com>2014-02-13 19:32:59 +0100
committerMs2ger <ms2ger@gmail.com>2014-02-13 19:32:59 +0100
commit0f5c9a35b901c65ed4d6bf3e4130d72aabaaadda (patch)
tree3f592ac2a26e8900345a8dcb60428bd579fe88e8 /src/components/script/dom/htmldivelement.rs
parenta0a61fe976c7d4e84cd33b3f121385acc76f3fa2 (diff)
downloadservo-0f5c9a35b901c65ed4d6bf3e4130d72aabaaadda.tar.gz
servo-0f5c9a35b901c65ed4d6bf3e4130d72aabaaadda.zip
Use DOMString more consistently.
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)
}