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

Issue 1151763011: Fix assumptions made in LAC::MarkAnimationsForDeletion (Closed)

Created:
5 years, 6 months ago by Ian Vollick
Modified:
5 years, 6 months ago
Reviewers:
ajuma, Lof
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

Fix assumptions made in LAC::MarkAnimationsForDeletion lof84 correctly noticed that this function was using broken logic to determine if we were on the impl thread (i.e., a non-null events vector). This got broken in my cl https://codereview.chromium.org/1088773003, which collects events on the main thread as well. The test in this CL was taken directly from lof84's original patch: http://crrev.com/1154323011 BUG=None CQ_INCLUDE_TRYBOTS=tryserver.blink:linux_blink_rel Committed: https://crrev.com/7324fb5f10b801ed49b4e1c8d743becded6d2ed3 Cr-Commit-Position: refs/heads/master@{#335262}

Patch Set 1 #

Total comments: 1

Patch Set 2 : . #

Patch Set 3 : . #

Total comments: 1

Patch Set 4 : . #

Unified diffs Side-by-side diffs Delta from patch set Stats (+79 lines, -8 lines) Patch
M cc/animation/animation.h View 1 chunk +3 lines, -0 lines 0 comments Download
M cc/animation/layer_animation_controller.cc View 1 2 3 2 chunks +6 lines, -2 lines 0 comments Download
M cc/animation/layer_animation_controller_unittest.cc View 3 chunks +20 lines, -6 lines 0 comments Download
M cc/trees/layer_tree_host_unittest_animation.cc View 1 2 3 1 chunk +50 lines, -0 lines 0 comments Download

Messages

Total messages: 18 (5 generated)
Lof
https://codereview.chromium.org/1151763011/diff/1/cc/trees/layer_tree_host_unittest_animation.cc File cc/trees/layer_tree_host_unittest_animation.cc (right): https://codereview.chromium.org/1151763011/diff/1/cc/trees/layer_tree_host_unittest_animation.cc#newcode1089 cc/trees/layer_tree_host_unittest_animation.cc:1089: TEST_F(LayerTreeHostAnimationTestNotifyAnimationFinished, Could you please use SINGLE_AND_MULTI_THREAD_TEST_F macro? SINGLE_AND_MULTI_THREAD_TEST_F(LayerTreeHostAnimationTestNotifyAnimationFinished);
5 years, 6 months ago (2015-06-05 20:07:43 UTC) #2
Lof
Hello. Are there any difficulties? I could make CL.
5 years, 6 months ago (2015-06-11 14:47:37 UTC) #3
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1151763011/20001
5 years, 6 months ago (2015-06-11 14:55:18 UTC) #5
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: linux_chromium_gn_rel on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_gn_rel/builds/98225)
5 years, 6 months ago (2015-06-11 15:05:02 UTC) #7
Ian Vollick
On 2015/06/11 at 15:05:02, commit-bot wrote: > Dry run: Try jobs failed on following builders: ...
5 years, 6 months ago (2015-06-11 21:00:38 UTC) #8
Ian Vollick
On 2015/06/11 at 21:00:38, vollick wrote: > On 2015/06/11 at 15:05:02, commit-bot wrote: > > ...
5 years, 6 months ago (2015-06-11 21:47:40 UTC) #9
Ian Vollick
On 2015/06/11 at 21:47:40, vollick wrote: > On 2015/06/11 at 21:00:38, vollick wrote: > > ...
5 years, 6 months ago (2015-06-12 14:33:51 UTC) #11
ajuma
https://codereview.chromium.org/1151763011/diff/40001/cc/animation/layer_animation_controller.cc File cc/animation/layer_animation_controller.cc (right): https://codereview.chromium.org/1151763011/diff/40001/cc/animation/layer_animation_controller.cc#newcode857 cc/animation/layer_animation_controller.cc:857: if (events && impl_animation) { This will prevent Finished ...
5 years, 6 months ago (2015-06-16 13:51:53 UTC) #12
Ian Vollick
On 2015/06/16 at 13:51:53, ajuma wrote: > https://codereview.chromium.org/1151763011/diff/40001/cc/animation/layer_animation_controller.cc > File cc/animation/layer_animation_controller.cc (right): > > https://codereview.chromium.org/1151763011/diff/40001/cc/animation/layer_animation_controller.cc#newcode857 ...
5 years, 6 months ago (2015-06-19 14:13:24 UTC) #13
ajuma
Thanks! lgtm.
5 years, 6 months ago (2015-06-19 14:16:39 UTC) #14
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1151763011/60001
5 years, 6 months ago (2015-06-19 14:17:57 UTC) #16
commit-bot: I haz the power
Committed patchset #4 (id:60001)
5 years, 6 months ago (2015-06-19 15:42:53 UTC) #17
commit-bot: I haz the power
5 years, 6 months ago (2015-06-19 15:43:55 UTC) #18
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/7324fb5f10b801ed49b4e1c8d743becded6d2ed3
Cr-Commit-Position: refs/heads/master@{#335262}

Powered by Google App Engine
This is Rietveld 408576698