DescriptionVerify paintedOutputOfObjectHasNoEffectRegardlessOfSize during painting
Checks that nothing should be painted if
paintedOutputOfObjectHasNoEffectRegardlessOfSize() is true, to
catch under-invalidations caused by it.
The verification also works during the first paint, so the existing
layout tests have enough coverage for the function.
Also fixed some check failures:
- LayoutDetailsMarker: was actual under-invalidation.
- LayoutView: as display item client of frame scroll corner. Was not an
actual under-invalidation because scroll controls are invalidated
separately, but change code to avoid the check failure. This is not
applicable to rootLayerScrolling.
- LayoutSVGBlock (LayoutSVGText and LayoutSVGForeignObject): now assume
there is always SVG effects.
Objects painted in SkPictureBuilder are not checked. One example is
LayoutSVGResourceClipper which doesn't have any painting on the backing,
but may output paint operations in SkPictureBuilder for the clipped
object.
BUG=669327
CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:linux_layout_tests_slimming_paint_v2
Committed: https://crrev.com/31a69618a214eb36bad90baa1a4f4d6bc15d008e
Cr-Commit-Position: refs/heads/master@{#436455}
Patch Set 1 #Patch Set 2 : - #Patch Set 3 : -- #Patch Set 4 : - #Patch Set 5 : - #Patch Set 6 : rebaseline-cl #Patch Set 7 : - #
Total comments: 2
Patch Set 8 : Remove from LayoutObject.h #Messages
Total messages: 46 (37 generated)
|