Commit eb9b1250 authored by Brad Werth's avatar Brad Werth
Browse files

Bug 1658432: Don't remove wrapping CALayer from its superview outside of...

Bug 1658432: Don't remove wrapping CALayer from its superview outside of Commit. r=mac-reviewers,mstange, a=dsmith

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
parent c5689553
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -1638,7 +1638,6 @@ bool NativeLayerCA::Representation::ApplyChanges(
    mContentCALayer = nil;
    [mOpaquenessTintLayer release];
    mOpaquenessTintLayer = nil;
    [mWrappingCALayer removeFromSuperlayer];
    [mWrappingCALayer release];
    mWrappingCALayer = nil;
  }