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.
BUG=551629
CQ_INCLUDE_TRYBOTS=tryserver.blink:linux_blink_rel
Review URL: https://codereview.chromium.org/1430353002
Cr-Commit-Position: refs/heads/master@{#358736}
2 files changed