mirror of
https://github.com/servo/servo.git
synced 2025-08-07 06:25:32 +01:00
Remove intrinsic Root::r()
This commit is contained in:
parent
51bcf516c8
commit
0b3ab875f4
55 changed files with 275 additions and 310 deletions
|
@ -77,7 +77,7 @@ impl HTMLTableRowElementMethods for HTMLTableRowElement {
|
|||
self.cells.or_init(|| {
|
||||
let window = window_from_node(self);
|
||||
let filter = box CellsFilter;
|
||||
HTMLCollection::create(window.r(), self.upcast(), filter)
|
||||
HTMLCollection::create(&window, self.upcast(), filter)
|
||||
})
|
||||
}
|
||||
|
||||
|
@ -87,7 +87,7 @@ impl HTMLTableRowElementMethods for HTMLTableRowElement {
|
|||
node.insert_cell_or_row(
|
||||
index,
|
||||
|| self.Cells(),
|
||||
|| HTMLTableDataCellElement::new(atom!("td"), None, node.owner_doc().r()))
|
||||
|| HTMLTableDataCellElement::new(atom!("td"), None, &node.owner_doc()))
|
||||
}
|
||||
|
||||
// https://html.spec.whatwg.org/multipage/#dom-tr-deletecell
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue