cc::Fix computation of surface backfacing-ness when using property trees

Property trees currently use the owning layer's draw transform to
compute the render surface's backfacing-ness. This computation is
flawed as the owning layer's draw transform computed using property
trees has only the sublayer scale and not the transform to target. So,
we should use the surface's draw transform instead. This change also
fixes the unit test,
LayerTreeHostCommonTest.DoNotIncludeBackfaceInvisibleSurfaces when we
enable impl-thread property trees.


Review URL:

Cr-Commit-Position: refs/heads/master@{#358736}
2 files changed