mirror of
https://github.com/servo/servo.git
synced 2025-08-05 13:40:08 +01:00
style: Rename Gecko_GetParentNode to Gecko_GetFlattenedTreeParentNode.
This commit is contained in:
parent
95bdceaed5
commit
c465dd0375
1 changed files with 1 additions and 1 deletions
|
@ -283,7 +283,7 @@ impl<'ln> TNode for GeckoNode<'ln> {
|
||||||
if fast_path {
|
if fast_path {
|
||||||
unsafe { self.0.mParent.as_ref().map(GeckoNode) }
|
unsafe { self.0.mParent.as_ref().map(GeckoNode) }
|
||||||
} else {
|
} else {
|
||||||
unsafe { bindings::Gecko_GetParentNode(self.0).map(GeckoNode) }
|
unsafe { bindings::Gecko_GetFlattenedTreeParentNode(self.0).map(GeckoNode) }
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue