cc: Fix visible rects of animated layers with singular transforms
Layers with singular transforms are usually skipped when computing
visible content rects. However, animated layers with singular
transforms cannot be skipped, since their transforms may become
non-singular during the animation (so these layers still need to
be recorded).
Currently, CalcDrawProps treats such layers as fully visible if
they have a non-empty visible rect in clipped target space. Layers
with an empty visible rect in clipped target space are treated as
having an empty visible content rect. This CL makes property trees
match CDP's behavior.
BUG=470244
Review URL: https://codereview.chromium.org/
1041663003
Cr-Commit-Position: refs/heads/master@{#323132}