diff options
author | Matt Brubeck <mbrubeck@limpet.net> | 2017-08-07 16:08:01 -0700 |
---|---|---|
committer | Matt Brubeck <mbrubeck@limpet.net> | 2017-08-08 10:53:17 -0700 |
commit | a08bc13df96c70022e5ab0207419609a501d85dc (patch) | |
tree | bc6926e5d1da52e1e6f8c54d9aa3420354b05359 /components/layout/traversal.rs | |
parent | 1f0e42e8fe721d896796205669f7265f2ed64b3e (diff) | |
download | servo-a08bc13df96c70022e5ab0207419609a501d85dc.tar.gz servo-a08bc13df96c70022e5ab0207419609a501d85dc.zip |
Rename compute_absolute_position to compute_stacking_relative_position
Diffstat (limited to 'components/layout/traversal.rs')
-rw-r--r-- | components/layout/traversal.rs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/components/layout/traversal.rs b/components/layout/traversal.rs index 7ca56d22f9a..d31be602ee8 100644 --- a/components/layout/traversal.rs +++ b/components/layout/traversal.rs @@ -201,14 +201,14 @@ impl<'a> PostorderFlowTraversal for AssignBSizes<'a> { } #[derive(Copy, Clone)] -pub struct ComputeAbsolutePositions<'a> { +pub struct ComputeStackingRelativePositions<'a> { pub layout_context: &'a LayoutContext<'a>, } -impl<'a> PreorderFlowTraversal for ComputeAbsolutePositions<'a> { +impl<'a> PreorderFlowTraversal for ComputeStackingRelativePositions<'a> { #[inline] fn process(&self, flow: &mut Flow) { - flow.compute_absolute_position(self.layout_context); + flow.compute_stacking_relative_position(self.layout_context); } } |