aboutsummaryrefslogtreecommitdiffstats
path: root/src/components/script/dom/htmlhrelement.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/htmlhrelement.rs
parenta0a61fe976c7d4e84cd33b3f121385acc76f3fa2 (diff)
downloadservo-0f5c9a35b901c65ed4d6bf3e4130d72aabaaadda.tar.gz
servo-0f5c9a35b901c65ed4d6bf3e4130d72aabaaadda.zip
Use DOMString more consistently.
Diffstat (limited to 'src/components/script/dom/htmlhrelement.rs')
-rw-r--r--src/components/script/dom/htmlhrelement.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/components/script/dom/htmlhrelement.rs b/src/components/script/dom/htmlhrelement.rs
index 274e82be2ff..07e58f0f15b 100644
--- a/src/components/script/dom/htmlhrelement.rs
+++ b/src/components/script/dom/htmlhrelement.rs
@@ -14,13 +14,13 @@ pub struct HTMLHRElement {
}
impl HTMLHRElement {
- pub fn new_inherited(localName: ~str, document: AbstractDocument) -> HTMLHRElement {
+ pub fn new_inherited(localName: DOMString, document: AbstractDocument) -> HTMLHRElement {
HTMLHRElement {
htmlelement: HTMLElement::new_inherited(HTMLHRElementTypeId, localName, document)
}
}
- pub fn new(localName: ~str, document: AbstractDocument) -> AbstractNode {
+ pub fn new(localName: DOMString, document: AbstractDocument) -> AbstractNode {
let element = HTMLHRElement::new_inherited(localName, document);
Node::reflect_node(@mut element, document, HTMLHRElementBinding::Wrap)
}