DescriptionFixing invalid visibility states with layers which showed up in unittests (opacity==0, visibility==true)
When fixing an animation problem yesterday, I added a DCHECK to test for an invalid layer state. In that state, the layer's alpha is 0 while the layers visibility is true. Several function will fail if this condition is present. As an example: Window::Show / Window::Hide.
After adding the DCHECK several unit tests failed and this patch is addressing this problem.
BUG=351553
TEST=unittests
Patch Set 1 #
Total comments: 1
Messages
Total messages: 3 (0 generated)
|