mirror of
https://github.com/servo/servo.git
synced 2025-08-03 12:40:06 +01:00
Rename some 'new' functions to 'new_inherited'.
This commit is contained in:
parent
3fe50711d4
commit
7f4283f4bc
8 changed files with 10 additions and 10 deletions
|
@ -18,7 +18,7 @@ pub struct HTMLElement {
|
|||
impl HTMLElement {
|
||||
pub fn new_inherited(type_id: ElementTypeId, tag_name: ~str, document: AbstractDocument) -> HTMLElement {
|
||||
HTMLElement {
|
||||
element: Element::new(type_id, tag_name, namespace::HTML, document)
|
||||
element: Element::new_inherited(type_id, tag_name, namespace::HTML, document)
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue