mirror of
https://github.com/servo/servo.git
synced 2025-07-24 15:50:21 +01:00
Pass SharedLayoutContext to Flow::compute_absolute_position.
This commit is contained in:
parent
05e9a9ac86
commit
871c207c44
13 changed files with 29 additions and 29 deletions
|
@ -204,7 +204,7 @@ pub struct ComputeAbsolutePositions<'a> {
|
|||
impl<'a> PreorderFlowTraversal for ComputeAbsolutePositions<'a> {
|
||||
#[inline]
|
||||
fn process(&self, flow: &mut Flow) {
|
||||
flow.compute_absolute_position(self.layout_context);
|
||||
flow.compute_absolute_position(self.layout_context.shared);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue