|
|
Created:
5 years, 1 month ago by Xianzhu Modified:
5 years ago CC:
blink-reviews, blink-reviews-paint_chromium.org, chromium-reviews, dshwang, slimming-paint-reviews_chromium.org Base URL:
https://chromium.googlesource.com/chromium/src.git@master Target Ref:
refs/pending/heads/master Project:
chromium Visibility:
Public. |
DescriptionForce full invalidation after layoutScope.setNeedsLayout() in PaintLayerScrollableArea::finalizeScrollDimensions()
This is a partial revert of https://codereview.chromium.org/799093002
which caused the bug.
This is a temporary measure to workaround crbug.com/560418
for crbug.com/535161.
BUG=535161, 560418
Committed: https://crrev.com/7bd6497afb57b760a96713f29a4dc510890e0272
Cr-Commit-Position: refs/heads/master@{#361215}
Patch Set 1 #Patch Set 2 : fast/repaint/destroy-scrollbar-expected.txt #Patch Set 3 : #Patch Set 4 : Added a TODO #
Messages
Total messages: 29 (13 generated)
wangxianzhu@chromium.org changed reviewers: + chrishtr@chromium.org, jchaffraix@chromium.org
I've spent days trying to get a reduced test case and find the root cause, but didn't get any result, so I'd like to land this partial revert to fix the bug first, then try to fix the root cause when I have time.
The CQ bit was checked by chrishtr@chromium.org
lgtm
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1471453002/1 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1471453002/1
The CQ bit was unchecked by commit-bot@chromium.org
Try jobs failed on following builders: win_chromium_rel_ng on tryserver.chromium.win (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.win/builders/win_chromium_rel_...)
The CQ bit was checked by wangxianzhu@chromium.org
The patchset sent to the CQ was uploaded after l-g-t-m from chrishtr@chromium.org Link to the patchset: https://codereview.chromium.org/1471453002/#ps20001 (title: "fast/repaint/destroy-scrollbar-expected.txt")
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1471453002/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1471453002/20001
The CQ bit was unchecked by commit-bot@chromium.org
Try jobs failed on following builders: win_chromium_rel_ng on tryserver.chromium.win (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.win/builders/win_chromium_rel_...)
This seems like a heavy handed hammer, especially considering that layout should already force a full invalidation. Did you investigate why we need this extra forced invalidation?
On 2015/11/23 17:08:51, Julien Chaffraix - PST wrote: > This seems like a heavy handed hammer especially considering that layout should > already force a full invalidation. Now layout doesn't force a full invalidation, after my change separating layout and invalidation requirements in about M38(?). This bug was caused by my change https://codereview.chromium.org/799093002 that removed forced full paint invalidation from layoutScope.setNeedsLayout(). This change is a partial revert of that change. This is a temporary measure until slimming paint v2 resolves this. > Did you investigate why we need this extra > forced invalidation? I've spent several days on this, but haven't got a feasible measure yet. It seems that we don't invalidate when client box rect of a box changes (e.g. when a scrollbar is removed) under some circumstances. This will be fixed by slimming paint v2 by detecting various box changes during painting.
The CQ bit was checked by wangxianzhu@chromium.org to run a CQ dry run
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1471453002/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1471453002/40001
Description was changed from ========== Force full invalidation after layoutScope.setNeedsLayout() in PaintLayerScrollableArea::finalizeScrollDimensions() This is a partial revert of https://codereview.chromium.org/799093002 which caused the bug. BUG=535161 ========== to ========== Force full invalidation after layoutScope.setNeedsLayout() in PaintLayerScrollableArea::finalizeScrollDimensions() This is a partial revert of https://codereview.chromium.org/799093002 which caused the bug. This is a temporary measure to workaround crbug.com/560418 for crbug.com/535161. BUG=535161,560418 ==========
Patchset #4 (id:60001) has been deleted
Added a TODO: // TODO(wangxianzhu): Remove the following statement when paint invalidation // can detect client box changes. crbug.com/560418. box().setShouldDoFullPaintInvalidation(); And modified description to indicate that this CL is a temporary workaround.
With the added explanations, lgtm
The CQ bit was checked by wangxianzhu@chromium.org
The patchset sent to the CQ was uploaded after l-g-t-m from chrishtr@chromium.org Link to the patchset: https://codereview.chromium.org/1471453002/#ps80001 (title: "Added a TODO")
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1471453002/80001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1471453002/80001
The CQ bit was unchecked by commit-bot@chromium.org
Try jobs failed on following builders: win_chromium_rel_ng on tryserver.chromium.win (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.win/builders/win_chromium_rel_...)
The CQ bit was checked by wangxianzhu@chromium.org
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1471453002/80001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1471453002/80001
Message was sent while issue was closed.
Committed patchset #4 (id:80001)
Message was sent while issue was closed.
Patchset 4 (id:??) landed as https://crrev.com/7bd6497afb57b760a96713f29a4dc510890e0272 Cr-Commit-Position: refs/heads/master@{#361215} |