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

Issue 2346583002: cc : Fix the bug in tracking currently running animations for an element (Closed)

Created:
4 years, 3 months ago by jaydasika
Modified:
4 years, 3 months ago
Reviewers:
loyso (OOO), ajuma
CC:
chromium-reviews, cc-bugs_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

cc : Fix the bug in tracking currently running animations for an element We are updating this value based on the status of the lst animation of the element which is wrong. CQ_INCLUDE_TRYBOTS=master.tryserver.blink:linux_precise_blink_rel Committed: https://crrev.com/f5f0a49c24df3a81193e3d4eaf8e9a519b98ae4f Cr-Commit-Position: refs/heads/master@{#418701}

Patch Set 1 #

Total comments: 3
Unified diffs Side-by-side diffs Delta from patch set Stats (+14 lines, -4 lines) Patch
M cc/animation/element_animations.cc View 1 chunk +4 lines, -4 lines 1 comment Download
M cc/animation/element_animations_unittest.cc View 3 chunks +10 lines, -0 lines 2 comments Download

Messages

Total messages: 18 (8 generated)
jaydasika
PTAL
4 years, 3 months ago (2016-09-14 20:33:10 UTC) #3
ajuma
https://codereview.chromium.org/2346583002/diff/1/cc/animation/element_animations_unittest.cc File cc/animation/element_animations_unittest.cc (right): https://codereview.chromium.org/2346583002/diff/1/cc/animation/element_animations_unittest.cc#newcode2917 cc/animation/element_animations_unittest.cc:2917: // that the transform is currently animating. Would one ...
4 years, 3 months ago (2016-09-14 21:41:13 UTC) #6
jaydasika
https://codereview.chromium.org/2346583002/diff/1/cc/animation/element_animations_unittest.cc File cc/animation/element_animations_unittest.cc (right): https://codereview.chromium.org/2346583002/diff/1/cc/animation/element_animations_unittest.cc#newcode2917 cc/animation/element_animations_unittest.cc:2917: // that the transform is currently animating. On 2016/09/14 ...
4 years, 3 months ago (2016-09-14 21:50:55 UTC) #7
ajuma
Thanks! lgtm
4 years, 3 months ago (2016-09-14 21:55:10 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2346583002/1
4 years, 3 months ago (2016-09-14 22:29:09 UTC) #12
commit-bot: I haz the power
Committed patchset #1 (id:1)
4 years, 3 months ago (2016-09-14 22:36:33 UTC) #13
commit-bot: I haz the power
Patchset 1 (id:??) landed as https://crrev.com/f5f0a49c24df3a81193e3d4eaf8e9a519b98ae4f Cr-Commit-Position: refs/heads/master@{#418701}
4 years, 3 months ago (2016-09-14 22:38:28 UTC) #15
loyso (OOO)
https://codereview.chromium.org/2346583002/diff/1/cc/animation/element_animations.cc File cc/animation/element_animations.cc (left): https://codereview.chromium.org/2346583002/diff/1/cc/animation/element_animations.cc#oldcode643 cc/animation/element_animations.cc:643: animation->InEffect(last_tick_time_); NIT: Would be nice to add a DCHECK ...
4 years, 3 months ago (2016-09-14 23:49:08 UTC) #16
loyso (OOO)
On 2016/09/14 23:49:08, loyso wrote: > Given that p = potentially_animating_for_pending_elements, c = > currently_running_for_active_elements, ...
4 years, 3 months ago (2016-09-14 23:53:21 UTC) #17
jaydasika
4 years, 3 months ago (2016-09-15 21:28:24 UTC) #18
Message was sent while issue was closed.
On 2016/09/14 23:53:21, loyso wrote:
> On 2016/09/14 23:49:08, loyso wrote:
> > Given that p = potentially_animating_for_pending_elements, c =
> > currently_running_for_active_elements, c must be a subset of p (c <= p).
> 
> "Given that p = potentially_animating_for_pending_elements, c =
> currently_running_for_pending_elements", of course. Same for active.

Since this has already landed, will add it in some other CL.

Powered by Google App Engine
This is Rietveld 408576698