diff options
author | bors-servo <release+servo@mozilla.com> | 2014-02-13 15:23:03 -0500 |
---|---|---|
committer | bors-servo <release+servo@mozilla.com> | 2014-02-13 15:23:03 -0500 |
commit | 7135bd53f28720290fb2a20a73d4055e3fa9e8f4 (patch) | |
tree | 3f592ac2a26e8900345a8dcb60428bd579fe88e8 /src/components/script/dom/htmlparamelement.rs | |
parent | a0a61fe976c7d4e84cd33b3f121385acc76f3fa2 (diff) | |
parent | 0f5c9a35b901c65ed4d6bf3e4130d72aabaaadda (diff) | |
download | servo-7135bd53f28720290fb2a20a73d4055e3fa9e8f4.tar.gz servo-7135bd53f28720290fb2a20a73d4055e3fa9e8f4.zip |
auto merge of #1690 : Ms2ger/servo/DOMStrings, r=jdm
Diffstat (limited to 'src/components/script/dom/htmlparamelement.rs')
-rw-r--r-- | src/components/script/dom/htmlparamelement.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/components/script/dom/htmlparamelement.rs b/src/components/script/dom/htmlparamelement.rs index 80e1696fa4e..de3bc7873a1 100644 --- a/src/components/script/dom/htmlparamelement.rs +++ b/src/components/script/dom/htmlparamelement.rs @@ -14,13 +14,13 @@ pub struct HTMLParamElement { } impl HTMLParamElement { - pub fn new_inherited(localName: ~str, document: AbstractDocument) -> HTMLParamElement { + pub fn new_inherited(localName: DOMString, document: AbstractDocument) -> HTMLParamElement { HTMLParamElement { htmlelement: HTMLElement::new_inherited(HTMLParamElementTypeId, localName, document) } } - pub fn new(localName: ~str, document: AbstractDocument) -> AbstractNode { + pub fn new(localName: DOMString, document: AbstractDocument) -> AbstractNode { let element = HTMLParamElement::new_inherited(localName, document); Node::reflect_node(@mut element, document, HTMLParamElementBinding::Wrap) } |