diff options
author | Ms2ger <Ms2ger@gmail.com> | 2016-08-24 10:10:05 +0200 |
---|---|---|
committer | Ms2ger <Ms2ger@gmail.com> | 2016-08-24 10:12:38 +0200 |
commit | 871c207c44ab00872dffd0eb16416a4e1acfe09c (patch) | |
tree | 89a80a24eb420f0d18407fc1d515e76490d1fa2e /components/layout/table.rs | |
parent | 05e9a9ac869b9aab8ba130aaa9cce6d725374d07 (diff) | |
download | servo-871c207c44ab00872dffd0eb16416a4e1acfe09c.tar.gz servo-871c207c44ab00872dffd0eb16416a4e1acfe09c.zip |
Pass SharedLayoutContext to Flow::compute_absolute_position.
Diffstat (limited to 'components/layout/table.rs')
-rw-r--r-- | components/layout/table.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/components/layout/table.rs b/components/layout/table.rs index 62d506c7b4a..96475f4a9e2 100644 --- a/components/layout/table.rs +++ b/components/layout/table.rs @@ -9,7 +9,7 @@ use app_units::Au; use block::{BlockFlow, CandidateBSizeIterator, ISizeAndMarginsComputer}; use block::{ISizeConstraintInput, ISizeConstraintSolution}; -use context::LayoutContext; +use context::{LayoutContext, SharedLayoutContext}; use display_list_builder::{BlockFlowDisplayListBuilding, BorderPaintingMode, DisplayListBuildState}; use euclid::Point2D; use flow; @@ -434,7 +434,7 @@ impl Flow for TableFlow { self.block_flow.assign_block_size_for_table_like_flow(vertical_spacing) } - fn compute_absolute_position(&mut self, layout_context: &LayoutContext) { + fn compute_absolute_position(&mut self, layout_context: &SharedLayoutContext) { self.block_flow.compute_absolute_position(layout_context) } |