forked from mirrors/gecko-dev
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
This commit is contained in:
parent
e37e4cf2d7
commit
f36c2e9caa
1 changed files with 0 additions and 1 deletions
|
|
@ -1735,7 +1735,6 @@ bool NativeLayerCA::Representation::ApplyChanges(
|
|||
mContentCALayer = nil;
|
||||
[mOpaquenessTintLayer release];
|
||||
mOpaquenessTintLayer = nil;
|
||||
[mWrappingCALayer removeFromSuperlayer];
|
||||
[mWrappingCALayer release];
|
||||
mWrappingCALayer = nil;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue