Chromium Code Reviews
DescriptionDelete scrollCompensationAdjustment.
This feature was added to compensate for fixed-position layers getting
positioned at integer positions but counterscrolled by a full,
fractional amount. It wound up getting unused because it caused a
performance regression due to defeating the "aborted commit"
optimization during scrolling (every scroll increment with a fractional
change would cause a commit).
There are two ways we can move forward with main-thread fractional
scroll support from here, either 1) have CC automatically compute the
fractional part on the impl thread, or 2) change Blink so that
fixed-position elements don't include the scroll offset in their layout
position at all. Either way, this scroll compensation feature is dead
code, so we can delete it now.
BUG=414283
CQ_INCLUDE_TRYBOTS=tryserver.blink:linux_blink_rel
Committed: https://crrev.com/a9aad960d0bf105c2153a517cedcc57e4d53b0b5
Cr-Commit-Position: refs/heads/master@{#381180}
Patch Set 1 #Patch Set 2 : Rebase #Patch Set 3 : Remove tests #Patch Set 4 : Rebase to master #Patch Set 5 : Rebase again #Messages
Total messages: 26 (12 generated)
|