Clear previous visual rects when composited PaintLayer goes away.
This avoids spurious layout shift reports when a static-positioned element loses its PaintLayer and cc::Layer at the same time (a common scenario at the end of a transition animation). Bug: 960614 Change-Id: I0ab8b693dbb764880090d1b078cb138f4ca1ddb7 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1636403 Commit-Queue: Steve Kobes <skobes@chromium.org> Reviewed-by:Xianzhu Wang <wangxianzhu@chromium.org> Cr-Commit-Position: refs/heads/master@{#665588}
Showing
Please register or sign in to comment