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_cell.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_cell.rs')
-rw-r--r-- | components/layout/table_cell.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/components/layout/table_cell.rs b/components/layout/table_cell.rs index a7778738d29..83c5fb522e3 100644 --- a/components/layout/table_cell.rs +++ b/components/layout/table_cell.rs @@ -8,7 +8,7 @@ use app_units::Au; use block::{BlockFlow, ISizeAndMarginsComputer, MarginsMayCollapseFlag}; -use context::LayoutContext; +use context::{LayoutContext, SharedLayoutContext}; use cssparser::Color; use display_list_builder::{BlockFlowDisplayListBuilding, BorderPaintingMode, DisplayListBuildState}; use euclid::{Point2D, Rect, SideOffsets2D, Size2D}; @@ -208,7 +208,7 @@ impl Flow for TableCellFlow { self.assign_block_size_table_cell_base(layout_context); } - 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) } |