mirror of
https://github.com/servo/servo.git
synced 2025-08-03 04:30:10 +01:00
Remove a prefix from a method name by manually resolving methods
This commit is contained in:
parent
6358b7d94e
commit
4ef0f39c78
3 changed files with 10 additions and 5 deletions
|
@ -2039,7 +2039,7 @@ impl<'a> style::TNode<'a, JSRef<'a, Element>> for JSRef<'a, Node> {
|
|||
(self as &NodeHelpers).parent_node().map(|node| *node.root())
|
||||
}
|
||||
|
||||
fn tnode_first_child(&self) -> Option<JSRef<'a, Node>> {
|
||||
fn first_child(&self) -> Option<JSRef<'a, Node>> {
|
||||
(self as &NodeHelpers).first_child().map(|node| *node.root())
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue