Chromium Code Reviews
DescriptionRevert of Replace LayoutObject::skipInvalidationWhenLaidOutChildren() with paintedOutputOfObjectHasNoEffect (patchset #9 id:160001 of https://codereview.chromium.org/2203933002/ )
Reason for revert:
With the CL, LayoutBox::getPaintInvalidationReason() sometimes returns PaintInvalidationIncremental when paintedOutputOfObjectHasNoEffect() is true.
Original issue's description:
> Replace LayoutObject::skipInvalidationWhenLaidOutChildren() with paintedOutputOfObjectHasNoEffect
>
> We don't need to check if the layout is laid out because of children,
> but just check if it will paint anything and if its painting is
> affected by geometry change.
>
> Removed neededLayoutBecauseOfChildren logic and replaced
> skipInvalidationWhenLaiedOutChildren() with
> paintedOutputOfObjectHasNoEffect().
>
> Also cleaned up selection paint invalidation.
>
> BUG=451090
>
> Committed: https://crrev.com/bdd41f4e784486fd7522793283cb5c376a057f0a
> Cr-Commit-Position: refs/heads/master@{#409965}
TBR=chrishtr@chromium.org,trchen@chromium.org
# Skipping CQ checks because original CL landed less than 1 days ago.
NOPRESUBMIT=true
NOTREECHECKS=true
NOTRY=true
BUG=451090, 643807
Patch Set 1 #Messages
Total messages: 3 (1 generated)
|