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

Issue 2085873004: Send scroll animation takeOver message in the same frame that it's created (Closed)

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

Description

Send scroll animation takeOver message in the same frame that it's created We send a takeOver message from the MT to CC when a main thread scrolling reason is added. Before this CL, that msg actually made its way to CC when ::updateCompositorAnimations was called, needlessly skipping a frame. BUG=615970 Committed: https://crrev.com/73c83ce1b28eea72dc6b4c109adf1e6915533656 Cr-Commit-Position: refs/heads/master@{#401705}

Patch Set 1 #

Total comments: 4

Patch Set 2 : address jbroman's comments #

Patch Set 3 : fix assert #

Patch Set 4 : fix DCHECK #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+22 lines, -5 lines) Patch
M third_party/WebKit/Source/core/page/scrolling/ScrollingCoordinator.cpp View 1 2 3 1 chunk +4 lines, -1 line 1 comment Download
M third_party/WebKit/Source/platform/scroll/ScrollAnimatorCompositorCoordinator.h View 1 2 1 chunk +3 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/platform/scroll/ScrollAnimatorCompositorCoordinator.cpp View 1 2 3 chunks +15 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/platform/scroll/ScrollAnimatorTest.cpp View 1 chunk +0 lines, -2 lines 0 comments Download

Messages

Total messages: 26 (12 generated)
ymalik
4 years, 6 months ago (2016-06-21 21:14:48 UTC) #4
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2085873004/1
4 years, 6 months ago (2016-06-21 21:14:53 UTC) #5
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: win_clang on tryserver.chromium.win (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.win/builders/win_clang/builds/41110)
4 years, 6 months ago (2016-06-21 21:40:10 UTC) #7
ajuma
lgtm
4 years, 6 months ago (2016-06-21 23:27:04 UTC) #8
ymalik
+jbroman for Source/platform
4 years, 6 months ago (2016-06-21 23:37:23 UTC) #10
jbroman
https://codereview.chromium.org/2085873004/diff/1/third_party/WebKit/Source/platform/scroll/ScrollAnimatorCompositorCoordinator.cpp File third_party/WebKit/Source/platform/scroll/ScrollAnimatorCompositorCoordinator.cpp (right): https://codereview.chromium.org/2085873004/diff/1/third_party/WebKit/Source/platform/scroll/ScrollAnimatorCompositorCoordinator.cpp#newcode314 third_party/WebKit/Source/platform/scroll/ScrollAnimatorCompositorCoordinator.cpp:314: ScrollAnimatorCompositorCoordinator::updateCompositorAnimations(); Is it intentional that this is explicitly called ...
4 years, 6 months ago (2016-06-22 15:25:34 UTC) #11
ymalik
jbroman, PTAL :) https://codereview.chromium.org/2085873004/diff/1/third_party/WebKit/Source/platform/scroll/ScrollAnimatorCompositorCoordinator.cpp File third_party/WebKit/Source/platform/scroll/ScrollAnimatorCompositorCoordinator.cpp (right): https://codereview.chromium.org/2085873004/diff/1/third_party/WebKit/Source/platform/scroll/ScrollAnimatorCompositorCoordinator.cpp#newcode314 third_party/WebKit/Source/platform/scroll/ScrollAnimatorCompositorCoordinator.cpp:314: ScrollAnimatorCompositorCoordinator::updateCompositorAnimations(); On 2016/06/22 15:25:33, jbroman wrote: ...
4 years, 6 months ago (2016-06-22 19:46:00 UTC) #12
jbroman
lgtm
4 years, 6 months ago (2016-06-22 19:50:36 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2085873004/40001
4 years, 6 months ago (2016-06-22 19:52:43 UTC) #16
commit-bot: I haz the power
Try jobs failed on following builders: mac_chromium_rel_ng on tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/mac_chromium_rel_ng/builds/248570)
4 years, 6 months ago (2016-06-22 21:03:42 UTC) #18
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2085873004/60001
4 years, 6 months ago (2016-06-23 19:11:28 UTC) #21
jbroman
https://codereview.chromium.org/2085873004/diff/60001/third_party/WebKit/Source/core/page/scrolling/ScrollingCoordinator.cpp File third_party/WebKit/Source/core/page/scrolling/ScrollingCoordinator.cpp (right): https://codereview.chromium.org/2085873004/diff/60001/third_party/WebKit/Source/core/page/scrolling/ScrollingCoordinator.cpp#newcode671 third_party/WebKit/Source/core/page/scrolling/ScrollingCoordinator.cpp:671: DCHECK(m_page->deprecatedLocalMainFrame()->document()->lifecycle().state() >= DocumentLifecycle::CompositingClean); nit: suggest DCHECK_GE for nicer error ...
4 years, 6 months ago (2016-06-23 19:12:27 UTC) #22
commit-bot: I haz the power
Committed patchset #4 (id:60001)
4 years, 6 months ago (2016-06-23 20:33:43 UTC) #24
commit-bot: I haz the power
4 years, 6 months ago (2016-06-23 20:36:29 UTC) #26
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/73c83ce1b28eea72dc6b4c109adf1e6915533656
Cr-Commit-Position: refs/heads/master@{#401705}

Powered by Google App Engine
This is Rietveld 408576698