Revert of Revert of Clip incremental invalidation rects for RenderBox...
Revert of Revert of Clip incremental invalidation rects for RenderBox (patchset #4 id:160001 of https://codereview.chromium.org/899813004/) Reason for revert: Suspected the original CL cause of the bug, but proved not. Original issue's description: > Revert of Clip incremental invalidation rects for RenderBox (patchset #3 id:40001 of https://codereview.chromium.org/548523005/) > > Reason for revert: > Haven't looked into the issue deeply, but in the future we won't care about the invalidation rects, so we can just revert this kind of optimizations. > > BUG=453586 > > Original issue's description: > > Clip incremental invalidation rects for RenderBox > > > > RenderBox::incrementallyInvalidatePaint invalidates according to > > border-box delta, not considering the bounds. If the bounds are > > clipped by ancestor clipping, the incrementally invalidated rect > > may exceed the ancestor clipping. > > > > Clip the incremental invalidation rects by oldBounds and newBounds > > to avoid invalidation on unrelated areas. > > > > BUG=411420 > > TEST=fast/repaint/resize-with-border-clipped.html > > > > Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=182081 > > TBR=jchaffraix@chromium.org,dsinclair@chromium.org,esprehn@chromium.org,leviw@chromium.org > BUG=411420 > > Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=189569 TBR=jchaffraix@chromium.org,dsinclair@chromium.org,esprehn@chromium.org,leviw@chromium.org BUG=453586,456176 Review URL: https://codereview.chromium.org/948513004 git-svn-id: svn://svn.chromium.org/blink/trunk@190682 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Showing
Please register or sign in to comment