mirror of
https://github.com/servo/servo.git
synced 2025-08-05 05:30:08 +01:00
Rename HTMLElement::new to HTMLElement::new_inherited.
This commit is contained in:
parent
4ac0dc1bfd
commit
e2c90d1198
65 changed files with 65 additions and 65 deletions
|
@ -26,7 +26,7 @@ pub struct HTMLHeadingElement {
|
|||
impl HTMLHeadingElement {
|
||||
pub fn new_inherited(localName: ~str, document: AbstractDocument, level: HeadingLevel) -> HTMLHeadingElement {
|
||||
HTMLHeadingElement {
|
||||
htmlelement: HTMLElement::new(HTMLHeadingElementTypeId, localName, document),
|
||||
htmlelement: HTMLElement::new_inherited(HTMLHeadingElementTypeId, localName, document),
|
||||
level: level,
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue