[CI] ScopedBoxContentsPaintState and ScopedReplacedContentsPaintState
Previously we adjusted local border box properties out of LayoutBlock::PaintObject(), while adjusted cull rect and paint offset inside of LayoutBlock::PaintObject(), making inconsistent relationship among paint chunk properties, cull rect and paint offset between the two adjustments. We should adjust them altogether to ensure consistence. Now rename PaintInfoWithOffset to ScopedPaintState (which will include more paint property adjustment in the future), and combine ScopedBoxClipper and the original code that adjusts cull rect and paint offset for ScrollTranslation into ScopedBoxContentsPaintState. Cq-Include-Trybots: luci.chromium.try:linux_layout_tests_layout_ng;luci.chromium.try:linux_layout_tests_slimming_paint_v2;master.tryserver.blink:linux_trusty_blink_rel Change-Id: I70f1ad00f2508d80eaa387259a1a62f301016ee5 Reviewed-on: https://chromium-review.googlesource.com/1213824Reviewed-by:vmpstr <vmpstr@chromium.org> Commit-Queue: Xianzhu Wang <wangxianzhu@chromium.org> Cr-Commit-Position: refs/heads/master@{#589971}
Showing
Please register or sign in to comment