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

Issue 1678713002: Correctly handle cancelling compositor animations initiated from main thread. (Closed)

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

Description

Correctly handle cancelling compositor animations initiated from main thread. We can have another scroll come in while there is an animation that is waiting to be aborted on the compositor. This CL adds handling for this case. This CL also ensures that we only update compositor animations from the updateCompositorAnimations function, where the document lifecycle state is CompositingClean. BUG=584067 Committed: https://crrev.com/4b15b712a5d86526647475da30467cd3ae3c5cb3 Cr-Commit-Position: refs/heads/master@{#374313}

Patch Set 1 #

Total comments: 9

Patch Set 2 : review comments #

Messages

Total messages: 17 (6 generated)
ymalik
https://codereview.chromium.org/1678713002/diff/1/third_party/WebKit/Source/platform/scroll/ScrollAnimator.cpp File third_party/WebKit/Source/platform/scroll/ScrollAnimator.cpp (right): https://codereview.chromium.org/1678713002/diff/1/third_party/WebKit/Source/platform/scroll/ScrollAnimator.cpp#newcode111 third_party/WebKit/Source/platform/scroll/ScrollAnimator.cpp:111: targetPos.moveBy(pixelDelta); @ajuma This is speculatively fix up the assert ...
4 years, 10 months ago (2016-02-07 21:23:37 UTC) #2
ajuma
https://codereview.chromium.org/1678713002/diff/1/third_party/WebKit/LayoutTests/fast/scroll-behavior/smooth-scroll/mousewheel-scroll-interrupted.html File third_party/WebKit/LayoutTests/fast/scroll-behavior/smooth-scroll/mousewheel-scroll-interrupted.html (right): https://codereview.chromium.org/1678713002/diff/1/third_party/WebKit/LayoutTests/fast/scroll-behavior/smooth-scroll/mousewheel-scroll-interrupted.html#newcode22 third_party/WebKit/LayoutTests/fast/scroll-behavior/smooth-scroll/mousewheel-scroll-interrupted.html:22: shouldBecomeEqual("document.scrollingElement.scrollTop < 40 && " + Won't this condition ...
4 years, 10 months ago (2016-02-08 15:05:35 UTC) #3
ymalik
@Ali Addressed feedback. PTAL :) https://codereview.chromium.org/1678713002/diff/1/third_party/WebKit/LayoutTests/fast/scroll-behavior/smooth-scroll/mousewheel-scroll-interrupted.html File third_party/WebKit/LayoutTests/fast/scroll-behavior/smooth-scroll/mousewheel-scroll-interrupted.html (right): https://codereview.chromium.org/1678713002/diff/1/third_party/WebKit/LayoutTests/fast/scroll-behavior/smooth-scroll/mousewheel-scroll-interrupted.html#newcode22 third_party/WebKit/LayoutTests/fast/scroll-behavior/smooth-scroll/mousewheel-scroll-interrupted.html:22: shouldBecomeEqual("document.scrollingElement.scrollTop < 40 && ...
4 years, 10 months ago (2016-02-08 18:41:23 UTC) #4
ajuma
On 2016/02/08 18:41:23, ymalik1 wrote: > @Ali > > Addressed feedback. PTAL :) > > ...
4 years, 10 months ago (2016-02-08 19:02:38 UTC) #5
ymalik
+Jeremy for Source/platform
4 years, 10 months ago (2016-02-08 20:09:52 UTC) #7
jbroman
I trust Ali's judgment about the functionality change, but could you please change the description ...
4 years, 10 months ago (2016-02-08 20:19:20 UTC) #8
ymalik
On 2016/02/08 20:19:20, jbroman wrote: > I trust Ali's judgment about the functionality change, but ...
4 years, 10 months ago (2016-02-08 20:30:16 UTC) #10
jbroman
rs lgtm
4 years, 10 months ago (2016-02-08 20:32:52 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1678713002/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1678713002/20001
4 years, 10 months ago (2016-02-09 01:55:27 UTC) #13
commit-bot: I haz the power
Committed patchset #2 (id:20001)
4 years, 10 months ago (2016-02-09 05:16:08 UTC) #15
commit-bot: I haz the power
4 years, 10 months ago (2016-02-09 05:17:29 UTC) #17
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/4b15b712a5d86526647475da30467cd3ae3c5cb3
Cr-Commit-Position: refs/heads/master@{#374313}

Powered by Google App Engine
This is Rietveld 408576698