mirror of
https://github.com/servo/servo.git
synced 2025-08-03 04:30:10 +01:00
Remove use of some other unstable features
This commit is contained in:
parent
7861b0be79
commit
7f975c3d5d
4 changed files with 11 additions and 8 deletions
|
@ -100,7 +100,7 @@ impl AbsolutelyPositionedBox {
|
|||
}
|
||||
|
||||
pub(crate) fn to_hoisted(
|
||||
self: Arc<Self>,
|
||||
self_: Arc<Self>,
|
||||
initial_start_corner: Vec2<Length>,
|
||||
tree_rank: usize,
|
||||
) -> HoistedAbsolutelyPositionedBox {
|
||||
|
@ -124,7 +124,7 @@ impl AbsolutelyPositionedBox {
|
|||
}
|
||||
}
|
||||
|
||||
let box_offsets = self.contents.style.box_offsets();
|
||||
let box_offsets = self_.contents.style.box_offsets();
|
||||
HoistedAbsolutelyPositionedBox {
|
||||
tree_rank,
|
||||
box_offsets: Vec2 {
|
||||
|
@ -140,7 +140,7 @@ impl AbsolutelyPositionedBox {
|
|||
),
|
||||
},
|
||||
fragment: ArcRefCell::new(None),
|
||||
absolutely_positioned_box: self,
|
||||
absolutely_positioned_box: self_,
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue