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