Rename HTMLElement::new to HTMLElement::new_inherited.

This commit is contained in:
Ms2ger 2013-11-02 20:55:18 +01:00
parent 4ac0dc1bfd
commit e2c90d1198
65 changed files with 65 additions and 65 deletions

View file

@ -16,7 +16,7 @@ pub struct HTMLProgressElement {
impl HTMLProgressElement {
pub fn new_inherited(localName: ~str, document: AbstractDocument) -> HTMLProgressElement {
HTMLProgressElement {
htmlelement: HTMLElement::new(HTMLProgressElementTypeId, localName, document)
htmlelement: HTMLElement::new_inherited(HTMLProgressElementTypeId, localName, document)
}
}