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 HTMLElement {
}
impl HTMLElement {
pub fn new(type_id: ElementTypeId, tag_name: ~str, document: AbstractDocument) -> HTMLElement {
pub fn new_inherited(type_id: ElementTypeId, tag_name: ~str, document: AbstractDocument) -> HTMLElement {
HTMLElement {
element: Element::new(type_id, tag_name, document)
}