DescriptionRevert of Moved parent_->SchedulePaint() to Views::SetFillsBoundsOpaquely() and Views::SchedulePaint(). (patchset #8 id:140001 of https://codereview.chromium.org/1461673002/ )
Reason for revert:
These tests leak
https://build.chromium.org/p/chromium.memory/builders/Linux%20Chromium%20OS%20ASan%20LSan%20Tests%20%281%29/builds/8315
Original issue's description:
> This CL fixes a more general issue in Views that had a quick fix
> that landed here: https://codereview.chromium.org/1460733002/
>
> The general problem is that the layer owned by a parent View can
> become dirty/stale when a child view is painting to it's own layer.
> This CL fixes the problem by scheduling paints on the parent view
> when it may be dirty.
>
> BUG=551492, 546683
> TEST=ViewLayerTest.NoCrashWhenParentlessViewSchedulesPaintOnParent
> ViewLayerTest.ScheduledRectsInParentAfterSchedulingPaint
> ViewLayerTest.ParentPaintWhenSwitchingPaintToLayerFromFalseToTrue
> ViewLayerTest.NoParentPaintWhenSwitchingPaintToLayerFromTrueToTrue
>
> Committed: https://crrev.com/c8761106916aac604f30fb2223cdbfb2bd3ffda3
> Cr-Commit-Position: refs/heads/master@{#367536}
TBR=sadrul@chromium.org,jonross@chromium.org,sky@chromium.org,bruthig@chromium.org
NOPRESUBMIT=true
NOTREECHECKS=true
NOTRY=true
BUG=551492, 546683
Committed: https://crrev.com/70e4baf6b13f7e4fda458ea4c9f684c55bed957c
Cr-Commit-Position: refs/heads/master@{#367563}
Patch Set 1 #
Total comments: 1
Messages
Total messages: 5 (2 generated)
|