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

Issue 2090793002: cc: Fix property tree animation sync bug (Closed)

Created:
4 years, 6 months ago by jaydasika
Modified:
4 years, 6 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

cc: Fix property tree animation sync bug Property trees animation sync at commit depends on the value of is_currently_animating value of a property tree node on the main thread. So, we need to do this sync before calling AnimationHost::PushProperties as AnimationHost::PushProperties can delete animations and change the is_currently_animating value. BUG=620978 CQ_INCLUDE_TRYBOTS=tryserver.blink:linux_blink_rel Committed: https://crrev.com/94bcfedec292cc72e7b98cea38da392fbf1dc18a Cr-Commit-Position: refs/heads/master@{#402011}

Patch Set 1 #

Patch Set 2 : Test #

Patch Set 3 : "s/EQ/NE" #

Total comments: 7

Patch Set 4 : "comments" #

Patch Set 5 : "TransformOperations" #

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

Messages

Total messages: 14 (4 generated)
jaydasika
This fixes the bug but I am having a hard time trying to write a ...
4 years, 6 months ago (2016-06-22 22:49:57 UTC) #3
jaydasika
Added a test
4 years, 6 months ago (2016-06-24 20:46:37 UTC) #4
jaydasika
https://codereview.chromium.org/2090793002/diff/40001/cc/trees/layer_tree_host_unittest_animation.cc File cc/trees/layer_tree_host_unittest_animation.cc (right): https://codereview.chromium.org/2090793002/diff/40001/cc/trees/layer_tree_host_unittest_animation.cc#newcode1694 cc/trees/layer_tree_host_unittest_animation.cc:1694: animation->InEffect(base::TimeTicks::Now()); Will remove this.
4 years, 6 months ago (2016-06-24 20:47:43 UTC) #5
ajuma
https://codereview.chromium.org/2090793002/diff/40001/cc/trees/layer_tree_host_unittest_animation.cc File cc/trees/layer_tree_host_unittest_animation.cc (right): https://codereview.chromium.org/2090793002/diff/40001/cc/trees/layer_tree_host_unittest_animation.cc#newcode1658 cc/trees/layer_tree_host_unittest_animation.cc:1658: AddAnimatedTransformToPlayer(player_.get(), 1.0, 5, 5); If you use the version ...
4 years, 6 months ago (2016-06-24 21:02:34 UTC) #6
jaydasika
https://codereview.chromium.org/2090793002/diff/40001/cc/trees/layer_tree_host_unittest_animation.cc File cc/trees/layer_tree_host_unittest_animation.cc (right): https://codereview.chromium.org/2090793002/diff/40001/cc/trees/layer_tree_host_unittest_animation.cc#newcode1658 cc/trees/layer_tree_host_unittest_animation.cc:1658: AddAnimatedTransformToPlayer(player_.get(), 1.0, 5, 5); On 2016/06/24 21:02:34, ajuma wrote: ...
4 years, 6 months ago (2016-06-24 21:54:44 UTC) #7
jaydasika
Use AddAnimatedTransformToPlayer that takes in TransforOpaerations instead of delta.
4 years, 6 months ago (2016-06-24 22:30:34 UTC) #8
ajuma
Thanks, lgtm
4 years, 6 months ago (2016-06-24 22:32:48 UTC) #9
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/2090793002/80001
4 years, 6 months ago (2016-06-24 22:35:27 UTC) #11
commit-bot: I haz the power
Committed patchset #5 (id:80001)
4 years, 6 months ago (2016-06-24 23:29:16 UTC) #12
commit-bot: I haz the power
4 years, 6 months ago (2016-06-24 23:32:51 UTC) #14
Message was sent while issue was closed.
Patchset 5 (id:??) landed as
https://crrev.com/94bcfedec292cc72e7b98cea38da392fbf1dc18a
Cr-Commit-Position: refs/heads/master@{#402011}

Powered by Google App Engine
This is Rietveld 408576698