aboutsummaryrefslogtreecommitdiffstats
path: root/components/layout/table_wrapper.rs
diff options
context:
space:
mode:
authorPatrick Walton <pcwalton@mimiga.net>2015-05-13 17:13:59 -0700
committerPatrick Walton <pcwalton@mimiga.net>2015-05-19 16:53:51 -0700
commit6a197719b30a5731b168b4ca5b6351f3d487d651 (patch)
tree96e5d1f6f3be89512dabbe055e03cf2409b116a7 /components/layout/table_wrapper.rs
parentacb9824229bf9e02eaabdb9d924f7db242a1ac85 (diff)
downloadservo-6a197719b30a5731b168b4ca5b6351f3d487d651.tar.gz
servo-6a197719b30a5731b168b4ca5b6351f3d487d651.zip
compositing: Implement display ports and avoid creating display lists
for items outside it. This improves Servo's performance on large pages.
Diffstat (limited to 'components/layout/table_wrapper.rs')
-rw-r--r--components/layout/table_wrapper.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/components/layout/table_wrapper.rs b/components/layout/table_wrapper.rs
index 592ad213f93..8f77e97dfd0 100644
--- a/components/layout/table_wrapper.rs
+++ b/components/layout/table_wrapper.rs
@@ -381,8 +381,8 @@ impl Flow for TableWrapperFlow {
MarginsMayCollapseFlag::MarginsMayNotCollapse);
}
- fn compute_absolute_position(&mut self) {
- self.block_flow.compute_absolute_position()
+ fn compute_absolute_position(&mut self, layout_context: &LayoutContext) {
+ self.block_flow.compute_absolute_position(layout_context)
}
fn place_float_if_applicable<'a>(&mut self, layout_context: &'a LayoutContext<'a>) {