Chromium Code Reviews
DescriptionMac: Correct CALayer reuse logic
This is a bug in how we construct the CALayer tree. The code
originally assumed that we would always re-use the old CALayer
if it existed. This is no longer the case now that we sometimes
use AVSampleBufferDisplayLayers.
With this patch, we ensure that we always put the new CALayer
in the position of the old CALayer.
A unit test for this is coming in another patch, but this one is
being merged back to M52, and the unit test files have changed
dramatically.
BUG=618287
Committed: https://crrev.com/4eff049bf6baef15d02a9c2d019a38e4a50c9731
Cr-Commit-Position: refs/heads/master@{#407561}
Patch Set 1 #
Messages
Total messages: 11 (5 generated)
|
|||||||||||||||||||