mirror of
https://github.com/servo/servo.git
synced 2025-08-04 05:00:08 +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
|
@ -17,7 +17,7 @@ impl DocumentFragment {
|
|||
/// Creates a new DocumentFragment.
|
||||
pub fn new_inherited(document: AbstractDocument) -> DocumentFragment {
|
||||
DocumentFragment {
|
||||
node: Node::new(DocumentFragmentNodeTypeId, document),
|
||||
node: Node::new_inherited(DocumentFragmentNodeTypeId, document),
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue