aboutsummaryrefslogtreecommitdiffstats
path: root/components/layout/table_rowgroup.rs
diff options
context:
space:
mode:
authorPatrick Walton <pcwalton@mimiga.net>2014-10-21 21:05:44 -0700
committerPatrick Walton <pcwalton@mimiga.net>2014-10-22 08:02:17 -0700
commit821793351e3a593f1affed0c57c00fb2443b5af7 (patch)
tree193600e46cfd07a1308cb3ca3d53b2829384af2b /components/layout/table_rowgroup.rs
parent691e42f7ef9005b2466bff85eee21e0363c77050 (diff)
downloadservo-821793351e3a593f1affed0c57c00fb2443b5af7.tar.gz
servo-821793351e3a593f1affed0c57c00fb2443b5af7.zip
layout: Largely move display list building out to a separate file.
`layout::fragment` and `layout::block` were getting too big.
Diffstat (limited to 'components/layout/table_rowgroup.rs')
-rw-r--r--components/layout/table_rowgroup.rs10
1 files changed, 5 insertions, 5 deletions
diff --git a/components/layout/table_rowgroup.rs b/components/layout/table_rowgroup.rs
index f0a6483515e..e21aedfc5ab 100644
--- a/components/layout/table_rowgroup.rs
+++ b/components/layout/table_rowgroup.rs
@@ -86,11 +86,6 @@ impl TableRowGroupFlow {
self.block_flow.fragment.border_box = position;
self.block_flow.base.position.size.block = block_size;
}
-
- pub fn build_display_list_table_rowgroup(&mut self, layout_context: &LayoutContext) {
- debug!("build_display_list_table_rowgroup: same process as block flow");
- self.block_flow.build_display_list_block(layout_context)
- }
}
impl Flow for TableRowGroupFlow {
@@ -205,6 +200,11 @@ impl Flow for TableRowGroupFlow {
fn update_late_computed_block_position_if_necessary(&mut self, block_position: Au) {
self.block_flow.update_late_computed_block_position_if_necessary(block_position)
}
+
+ fn build_display_list(&mut self, layout_context: &LayoutContext) {
+ debug!("build_display_list_table_rowgroup: same process as block flow");
+ self.block_flow.build_display_list(layout_context)
+ }
}
impl fmt::Show for TableRowGroupFlow {