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

@ -14,7 +14,7 @@ pub struct HTMLMediaElement {
impl HTMLMediaElement {
pub fn new_inherited(type_id: ElementTypeId, tag_name: ~str, document: AbstractDocument) -> HTMLMediaElement {
HTMLMediaElement {
htmlelement: HTMLElement::new(type_id, tag_name, document)
htmlelement: HTMLElement::new_inherited(type_id, tag_name, document)
}
}
}