Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(180)

Issue 1385123003: Delete scrollCompensationAdjustment. (Closed)

Created:
5 years, 2 months ago by aelias_OOO_until_Jul13
Modified:
4 years, 9 months ago
CC:
cc-bugs_chromium.org, chromium-reviews
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Delete 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 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+8 lines, -334 lines) Patch
M cc/blink/web_layer_impl.h View 1 2 3 4 1 chunk +0 lines, -1 line 0 comments Download
M cc/blink/web_layer_impl.cc View 1 2 3 4 1 chunk +0 lines, -6 lines 0 comments Download
M cc/layers/layer.h View 1 2 3 4 2 chunks +0 lines, -4 lines 0 comments Download
M cc/layers/layer.cc View 1 2 3 4 4 chunks +0 lines, -17 lines 0 comments Download
M cc/layers/layer_impl.h View 1 2 3 4 2 chunks +0 lines, -8 lines 0 comments Download
M cc/layers/layer_impl.cc View 1 2 3 4 1 chunk +0 lines, -2 lines 0 comments Download
M cc/layers/layer_unittest.cc View 1 2 3 4 3 chunks +0 lines, -4 lines 0 comments Download
M cc/proto/layer.proto View 1 2 3 1 chunk +0 lines, -1 line 0 comments Download
M cc/trees/layer_tree_host_common_unittest.cc View 1 2 3 4 2 chunks +0 lines, -160 lines 0 comments Download
M cc/trees/property_tree.h View 1 2 3 1 chunk +2 lines, -3 lines 0 comments Download
M cc/trees/property_tree_builder.cc View 1 2 3 4 4 chunks +4 lines, -5 lines 0 comments Download
D third_party/WebKit/LayoutTests/fast/scrolling/fractional-scroll-offset-fixed-position.html View 1 2 1 chunk +0 lines, -41 lines 0 comments Download
D third_party/WebKit/LayoutTests/fast/scrolling/fractional-scroll-offset-fixed-position-expected.html View 1 2 1 chunk +0 lines, -32 lines 0 comments Download
M third_party/WebKit/Source/core/page/scrolling/ScrollingCoordinator.cpp View 1 2 3 4 1 chunk +2 lines, -17 lines 0 comments Download
M third_party/WebKit/Source/web/tests/ScrollingCoordinatorTest.cpp View 1 2 3 4 1 chunk +0 lines, -21 lines 0 comments Download
M third_party/WebKit/public/platform/WebLayer.h View 1 2 3 1 chunk +0 lines, -12 lines 0 comments Download

Messages

Total messages: 26 (12 generated)
aelias_OOO_until_Jul13
PTAL, this is another post-Blink-merge small cleanup I wanted to do. vollick@, please take a ...
5 years, 2 months ago (2015-10-06 07:37:06 UTC) #3
Yufeng Shen (Slow to review)
On 2015/10/06 07:37:06, aelias wrote: > PTAL, this is another post-Blink-merge small cleanup I wanted ...
5 years, 2 months ago (2015-10-06 15:09:27 UTC) #4
Rick Byers
WebKit/ LGTM I'd still like to understand the plan for setting fractional scrollTop values for ...
5 years, 2 months ago (2015-10-06 17:02:39 UTC) #5
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1385123003/60001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1385123003/60001
4 years, 9 months ago (2016-03-10 06:02:18 UTC) #7
aelias_OOO_until_Jul13
Very delayed PTAL. vollick@, could you review the changes in cc/? (I started looking at ...
4 years, 9 months ago (2016-03-10 06:05:25 UTC) #8
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: win_chromium_x64_rel_ng on tryserver.chromium.win (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.win/builders/win_chromium_x64_rel_ng/builds/180687)
4 years, 9 months ago (2016-03-10 06:41:14 UTC) #10
Ian Vollick
On 2016/03/10 06:41:14, commit-bot: I haz the power wrote: > Dry run: Try jobs failed ...
4 years, 9 months ago (2016-03-13 16:59:44 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1385123003/60001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1385123003/60001
4 years, 9 months ago (2016-03-14 18:21:44 UTC) #14
commit-bot: I haz the power
Try jobs failed on following builders: ios_dbg_simulator_ninja on tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/ios_dbg_simulator_ninja/builds/144526) ios_rel_device_gn on tryserver.chromium.mac (JOB_FAILED, ...
4 years, 9 months ago (2016-03-14 18:24:24 UTC) #16
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1385123003/80001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1385123003/80001
4 years, 9 months ago (2016-03-15 01:06:54 UTC) #19
commit-bot: I haz the power
Try jobs failed on following builders: linux_blink_rel on tryserver.blink (JOB_FAILED, http://build.chromium.org/p/tryserver.blink/builders/linux_blink_rel/builds/83715)
4 years, 9 months ago (2016-03-15 02:24:23 UTC) #21
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1385123003/80001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1385123003/80001
4 years, 9 months ago (2016-03-15 04:36:46 UTC) #23
commit-bot: I haz the power
Committed patchset #5 (id:80001)
4 years, 9 months ago (2016-03-15 05:10:40 UTC) #24
commit-bot: I haz the power
4 years, 9 months ago (2016-03-15 05:11:52 UTC) #26
Message was sent while issue was closed.
Patchset 5 (id:??) landed as
https://crrev.com/a9aad960d0bf105c2153a517cedcc57e4d53b0b5
Cr-Commit-Position: refs/heads/master@{#381180}

Powered by Google App Engine
This is Rietveld 408576698