Bug 1658432: Don't remove wrapping CALayer from its superview outside of Commit....
commitf36c2e9caab30549ca4202f4dd682ef462f070c7
authorBrad Werth <bwerth@mozilla.com>
Tue, 24 Oct 2023 20:01:49 +0000 (24 20:01 +0000)
committerBrad Werth <bwerth@mozilla.com>
Tue, 24 Oct 2023 20:01:49 +0000 (24 20:01 +0000)
tree29c96335957caf4cb9741102b8e1f15d9865e181
parente37e4cf2d713c64f7a502c3bbcdf2621d98345cc
Bug 1658432: Don't remove wrapping CALayer from its superview outside of Commit. r=mac-reviewers,mstange

This change lets NativeLayerRootCA::Representation::Commit be the only
point where sublayers are added and removed from the root CALayer.

Differential Revision: https://phabricator.services.mozilla.com/D191673
gfx/layers/NativeLayerCA.mm