Skip to content
Snippets Groups Projects
Commit 088fdb1e authored by Xianzhu Wang's avatar Xianzhu Wang Committed by Chromium LUCI CQ
Browse files

Fix paint checkerboarding over-reporting

We failed to update scrolling_contents_cull_rect on the cc scroll tree
if a scroll only caused repaint but not a full PaintArtifactCompositor
update. The wrong cull rect caused false paint checkerboarding.

Now update scrolling_contents_cull_rect on the cc scroll tree during
PaintChunksToCcLayer::UpdateLayerProperties() to ensure it is updated
for both full and repaint-only updates.

(cherry picked from commit 633b1b17)

Bug: 373664061
Change-Id: Ibbc153e256f5f6c64c6003ad8e3a820eff60882a
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5940118


Reviewed-by: default avatarPhilip Rogers <pdr@chromium.org>
Commit-Queue: Xianzhu Wang <wangxianzhu@chromium.org>
Cr-Original-Commit-Position: refs/heads/main@{#1372212}
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5962359
Auto-Submit: Xianzhu Wang <wangxianzhu@chromium.org>
Commit-Queue: Rubber Stamper <rubber-stamper@appspot.gserviceaccount.com>
Bot-Commit: Rubber Stamper <rubber-stamper@appspot.gserviceaccount.com>
Cr-Commit-Position: refs/branch-heads/6778@{#782}
Cr-Branched-From: b21671ca-refs/heads/main@{#1368529}
parent 7e1b3bdb
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment