mirror of
https://github.com/servo/servo.git
synced 2025-10-08 04:29:24 +01:00
Use DOMString more consistently.
This commit is contained in:
parent
a0a61fe976
commit
0f5c9a35b9
76 changed files with 161 additions and 146 deletions
|
@ -43,7 +43,7 @@ impl HTMLIFrameElement {
|
|||
}
|
||||
|
||||
impl HTMLIFrameElement {
|
||||
pub fn new_inherited(localName: ~str, document: AbstractDocument) -> HTMLIFrameElement {
|
||||
pub fn new_inherited(localName: DOMString, document: AbstractDocument) -> HTMLIFrameElement {
|
||||
HTMLIFrameElement {
|
||||
htmlelement: HTMLElement::new_inherited(HTMLIframeElementTypeId, localName, document),
|
||||
frame: None,
|
||||
|
@ -52,7 +52,7 @@ impl HTMLIFrameElement {
|
|||
}
|
||||
}
|
||||
|
||||
pub fn new(localName: ~str, document: AbstractDocument) -> AbstractNode {
|
||||
pub fn new(localName: DOMString, document: AbstractDocument) -> AbstractNode {
|
||||
let element = HTMLIFrameElement::new_inherited(localName, document);
|
||||
Node::reflect_node(@mut element, document, HTMLIFrameElementBinding::Wrap)
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue