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

Issue 1551933002: Fix retargeting of composited smooth scrolls from the main thread. (Closed)

Created:
4 years, 11 months ago by skobes
Modified:
4 years, 11 months ago
Reviewers:
ymalik, jbroman
CC:
darktears, blink-reviews, blink-reviews-animation_chromium.org, chromium-reviews, Eric Willigers, kinuko+watch, rjwright, shans
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Fix retargeting of composited smooth scrolls from the main thread. When we transition to RunningOnCompositorButNeedsUpdate, we need to call registerForAnimation again to ensure that updateCompositorAnimations is called. We also cannot rely on m_lastTickTime since we do not get tickAnimation for composited scrolls. BUG=571680 Committed: https://crrev.com/ef5777214152eb0bf020be5074e524a8580aa302 Cr-Commit-Position: refs/heads/master@{#367204}

Patch Set 1 #

Patch Set 2 : #

Total comments: 2

Patch Set 3 : address review comment #

Unified diffs Side-by-side diffs Delta from patch set Stats (+26 lines, -19 lines) Patch
M third_party/WebKit/Source/platform/scroll/ScrollAnimator.h View 1 2 1 chunk +5 lines, -1 line 0 comments Download
M third_party/WebKit/Source/platform/scroll/ScrollAnimator.cpp View 7 chunks +18 lines, -17 lines 0 comments Download
M third_party/WebKit/Source/platform/scroll/ScrollAnimatorTest.cpp View 1 2 2 chunks +3 lines, -1 line 0 comments Download

Messages

Total messages: 18 (8 generated)
skobes
4 years, 11 months ago (2015-12-30 20:11:20 UTC) #2
ymalik
lgtm! thanks for looking into this!
4 years, 11 months ago (2015-12-30 20:28:08 UTC) #3
skobes
+jbroman for OWNERS
4 years, 11 months ago (2015-12-30 20:38:42 UTC) #5
jbroman
rs lgtm (with one nit) It would be nice to have a test for the ...
4 years, 11 months ago (2015-12-30 20:42:53 UTC) #6
skobes
Added TODO for better test coverage. https://codereview.chromium.org/1551933002/diff/20001/third_party/WebKit/Source/platform/scroll/ScrollAnimator.h File third_party/WebKit/Source/platform/scroll/ScrollAnimator.h (right): https://codereview.chromium.org/1551933002/diff/20001/third_party/WebKit/Source/platform/scroll/ScrollAnimator.h#newcode73 third_party/WebKit/Source/platform/scroll/ScrollAnimator.h:73: bool registerAndScheduleAnimation(); On ...
4 years, 11 months ago (2015-12-30 20:54:55 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1551933002/60001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1551933002/60001
4 years, 11 months ago (2015-12-30 20:56:06 UTC) #11
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_asan_rel_ng on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_asan_rel_ng/builds/96896)
4 years, 11 months ago (2015-12-30 21:18:20 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1551933002/60001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1551933002/60001
4 years, 11 months ago (2015-12-30 22:33:28 UTC) #15
commit-bot: I haz the power
Committed patchset #3 (id:60001)
4 years, 11 months ago (2015-12-30 23:40:40 UTC) #16
commit-bot: I haz the power
4 years, 11 months ago (2015-12-30 23:41:45 UTC) #18
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/ef5777214152eb0bf020be5074e524a8580aa302
Cr-Commit-Position: refs/heads/master@{#367204}

Powered by Google App Engine
This is Rietveld 408576698