diff options
author | Patrick Walton <pcwalton@mimiga.net> | 2015-05-13 17:13:59 -0700 |
---|---|---|
committer | Patrick Walton <pcwalton@mimiga.net> | 2015-05-19 16:53:51 -0700 |
commit | 6a197719b30a5731b168b4ca5b6351f3d487d651 (patch) | |
tree | 96e5d1f6f3be89512dabbe055e03cf2409b116a7 /components/layout/table_wrapper.rs | |
parent | acb9824229bf9e02eaabdb9d924f7db242a1ac85 (diff) | |
download | servo-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.rs | 4 |
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>) { |