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

Issue 1927833002: Add an integration test for the animation takeover path from cc to mt (Closed)

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

Description

Add an integration test for the animation takeover path from cc to mt Currently, when a main thread scrolling reason gets added, LayerImpl::set_main_thread_scrolling_reasons tells the animation controller to abort the animation running on CC and continue it on MT. This function will be gone eventually (since these reasons are already stored in the scroll tree) and we won't notice the takeover logic breaking as there is no test for it. This CL adds a test for it. Note that it contains no behavioral change. BUG=607047 CQ_INCLUDE_TRYBOTS=tryserver.blink:linux_blink_rel Committed: https://crrev.com/04787a7fb5dcf62e0e9766e4c459b630ebaddf73 Cr-Commit-Position: refs/heads/master@{#390395}

Patch Set 1 #

Total comments: 2

Patch Set 2 : review feedback #

Patch Set 3 : rebase master #

Unified diffs Side-by-side diffs Delta from patch set Stats (+57 lines, -0 lines) Patch
M cc/trees/layer_tree_host_unittest_animation.cc View 1 2 1 chunk +57 lines, -0 lines 0 comments Download

Messages

Total messages: 18 (9 generated)
ymalik
4 years, 7 months ago (2016-04-28 01:42:22 UTC) #3
ajuma
Generally looks good. For the description, note that LayerImpl will still be sticking around, but ...
4 years, 7 months ago (2016-04-28 13:43:54 UTC) #4
ymalik
PTAL :) Updated description and addressed comment. https://codereview.chromium.org/1927833002/diff/1/cc/trees/layer_tree_host_unittest_animation.cc File cc/trees/layer_tree_host_unittest_animation.cc (right): https://codereview.chromium.org/1927833002/diff/1/cc/trees/layer_tree_host_unittest_animation.cc#newcode793 cc/trees/layer_tree_host_unittest_animation.cc:793: if (!have_animations) ...
4 years, 7 months ago (2016-04-28 14:23:45 UTC) #6
ajuma
Thanks! lgtm
4 years, 7 months ago (2016-04-28 14:27:15 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1927833002/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1927833002/20001
4 years, 7 months ago (2016-04-28 14:31:26 UTC) #9
commit-bot: I haz the power
Try jobs failed on following builders: android_chromium_gn_compile_rel on tryserver.chromium.android (JOB_FAILED, https://build.chromium.org/p/tryserver.chromium.android/builders/android_chromium_gn_compile_rel/builds/58435) linux_android_rel_ng on tryserver.chromium.android (JOB_FAILED, ...
4 years, 7 months ago (2016-04-28 14:38:29 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1927833002/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1927833002/40001
4 years, 7 months ago (2016-04-28 15:15:02 UTC) #14
commit-bot: I haz the power
Committed patchset #3 (id:40001)
4 years, 7 months ago (2016-04-28 15:49:48 UTC) #16
commit-bot: I haz the power
4 years, 7 months ago (2016-04-30 17:18:56 UTC) #17
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/04787a7fb5dcf62e0e9766e4c459b630ebaddf73
Cr-Commit-Position: refs/heads/master@{#390395}

Powered by Google App Engine
This is Rietveld 408576698