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

@ -24,7 +24,7 @@ pub struct HTMLImageElement {
impl HTMLImageElement {
pub fn new_inherited(localName: ~str, document: AbstractDocument) -> HTMLImageElement {
HTMLImageElement {
htmlelement: HTMLElement::new(HTMLImageElementTypeId, localName, document),
htmlelement: HTMLElement::new_inherited(HTMLImageElementTypeId, localName, document),
image: None,
}
}