DescriptionCC Animations: Fix AnimationHost mode integration with Property Trees.
Fix the test:
content_shell --run-layout-test --enable-threaded-compositing transitions/3d/interrupted-transition.html
1) Invalidate property trees in AnimationPlayer::SetNeedsCommit (as in Layer::SetNeedsCommit).
2) We simply destroy AnimationPlayers on interruptions.
We destroy Layer Animation Controller if no AnimationPlayers for this layer (despite animations it may be running).
So let's clear is_animated flags in property trees on LAC destruction.
BUG=545332
CQ_INCLUDE_TRYBOTS=tryserver.blink:linux_blink_rel
Committed: https://crrev.com/d02fc478259f5a1e3208d4c26ef8f3b1f2681499
Cr-Commit-Position: refs/heads/master@{#355288}
Patch Set 1 #Patch Set 2 : Fix cc_unittests. #Patch Set 3 : Add unit tests. #Patch Set 4 : Add comment for second unit test. #Patch Set 5 : An attempt to fix weird EXPECT_EQ compilation errors. #
Messages
Total messages: 11 (3 generated)
|