Skip empty-clip fragments when creating flow thread contexts.
This patch ensures that when the fragmentainer iterator returns a fragment that has an empty clip, we skip generating a fragment for it. This is important since a fragment that has an empty clip can share the logical top with the subsequent fragment, meaning that we cannot use the logical top to uniquely identify a fragment. This patch addresses this issue. Furthermore, we typically skip painting fragments that have empty clips anyway (for obvious reasons), so this should not impact painted contents. R=chrishtr@chromium.org, wangxianzhu@chromium.org Bug: 870521 Cq-Include-Trybots: luci.chromium.try:linux_layout_tests_slimming_paint_v2;master.tryserver.blink:linux_trusty_blink_rel Change-Id: I9f2f6311e0c3c75e4a8d114f13476ce8774e8218 Reviewed-on: https://chromium-review.googlesource.com/1187234 Commit-Queue: Chris Harrelson <chrishtr@chromium.org> Reviewed-by:Xianzhu Wang <wangxianzhu@chromium.org> Cr-Commit-Position: refs/heads/master@{#585671}
Showing
Please register or sign in to comment