Use DOMString more consistently.

This commit is contained in:
Ms2ger 2014-02-13 19:32:59 +01:00
parent a0a61fe976
commit 0f5c9a35b9
76 changed files with 161 additions and 146 deletions

View file

@ -14,13 +14,13 @@ pub struct HTMLAppletElement {
}
impl HTMLAppletElement {
pub fn new_inherited(localName: ~str, document: AbstractDocument) -> HTMLAppletElement {
pub fn new_inherited(localName: DOMString, document: AbstractDocument) -> HTMLAppletElement {
HTMLAppletElement {
htmlelement: HTMLElement::new_inherited(HTMLAppletElementTypeId, localName, document)
}
}
pub fn new(localName: ~str, document: AbstractDocument) -> AbstractNode {
pub fn new(localName: DOMString, document: AbstractDocument) -> AbstractNode {
let element = HTMLAppletElement::new_inherited(localName, document);
Node::reflect_node(@mut element, document, HTMLAppletElementBinding::Wrap)
}