DescriptionDon't paint empty scroll corner
The existing logic for checking whether the compositor has a scroll
corner layer is insufficient. When the compositor runs
UpdateOverflowControlsLayers, it will delete its scroll corner layer
if the scroll corner isn't visible. In this case, the paint code
should not try to paint the scroll corner.
The existing code causes a number of crashes in compositing tests
when this patch is applied:
https://codereview.chromium.org/2860433002
BUG=701575
R=pdr@chromium.org,chrishtr@chromium.org
CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:linux_layout_tests_slimming_paint_v2
Review-Url: https://codereview.chromium.org/2857333004
Cr-Commit-Position: refs/heads/master@{#469370}
Committed: https://chromium.googlesource.com/chromium/src/+/f240cb6e78c2d189ec6baabde91165b19b27a190
Patch Set 1 #
Messages
Total messages: 14 (9 generated)
|