mirror of
https://github.com/servo/servo.git
synced 2025-08-03 04:30:10 +01:00
Remove intrinsic Root::r()
This commit is contained in:
parent
51bcf516c8
commit
0b3ab875f4
55 changed files with 275 additions and 310 deletions
|
@ -71,7 +71,7 @@ impl HTMLTableCellElementMethods for HTMLTableCellElement {
|
|||
};
|
||||
|
||||
parent_children.filter(|c| c.is::<HTMLTableCellElement>())
|
||||
.position(|c| c.r() == self_node)
|
||||
.position(|c| &*c == self_node)
|
||||
.map_or(-1, |p| p as i32)
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue