DescriptionsetMayNeedPaintInvalidation in setNeedsOverflowRecalcAfterStyleChange()
This is to ensure needsPaintOffsetAndVisualRectUpdate() when overflow
will change because of style change.
It was added in https://codereview.chromium.org/2751523011/ then
removed in https://codereview.chromium.org/2776583003/ because it
caused paint time regression when scrolling google search result page.
This CL adds it back, and added a condition to avoid unnecessary paint
invalidation when a container's location changes.
BUG=704182
CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:linux_layout_tests_slimming_paint_v2
Review-Url: https://codereview.chromium.org/2791933003
Cr-Commit-Position: refs/heads/master@{#461829}
Committed: https://chromium.googlesource.com/chromium/src/+/347d17a607d7f379ba66bb4904869c1b530aac2b
Patch Set 1 #
Total comments: 4
Patch Set 2 : - #
Total comments: 2
Patch Set 3 : - #
Messages
Total messages: 15 (6 generated)
|