DescriptionUpdate Layer::GetTargetColor to account for animation state
Layer::GetTargetColor currently always checks the LayerAnimator for a target
color.
When the layer is not animating, the animator's defaults do not necessarily
reflect the current state of the layer. This change updates
Layer::GetTargetColor to return the current color if not animating.
TEST=LayerOwnerTest, RecreateLayerSolidColorWithChangedCCLayerHonorsTargets,
ran compositor_unittests, ash_unittests, views_unittests
BUG=chrome-os-partner:40118
Committed: https://crrev.com/31048b60684f840102adffa211f746ec4218abbd
Cr-Commit-Position: refs/heads/master@{#330679}
Patch Set 1 #Patch Set 2 : Add Layer unittests #
Total comments: 2
Patch Set 3 : #
Messages
Total messages: 12 (3 generated)
|