mirror of
https://github.com/servo/servo.git
synced 2025-08-05 21:50:18 +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
|
@ -625,7 +625,7 @@ impl Node<ScriptView> {
|
|||
}
|
||||
}
|
||||
|
||||
pub fn new(type_id: NodeTypeId, doc: AbstractDocument) -> Node<ScriptView> {
|
||||
pub fn new_inherited(type_id: NodeTypeId, doc: AbstractDocument) -> Node<ScriptView> {
|
||||
Node::new_(type_id, Some(doc))
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue