diff --git a/AppKit/Cib/_CPCibObjectData.j b/AppKit/Cib/_CPCibObjectData.j index fd91e22f1..5cfb03fa6 100644 --- a/AppKit/Cib/_CPCibObjectData.j +++ b/AppKit/Cib/_CPCibObjectData.j @@ -230,7 +230,7 @@ var _CPCibObjectDataNamesKeysKey = @"_CPCibObjectDataNamesKeysKey if ([object respondsToSelector:@selector(_cibInstantiate)]) { - var instantiatedObject = [object _cibInstantiate]; + instantiatedObject = [object _cibInstantiate]; if (instantiatedObject !== object) { diff --git a/AppKit/CoreAnimation/CALayer.j b/AppKit/CoreAnimation/CALayer.j index 2230b7197..d7bb52982 100644 --- a/AppKit/CoreAnimation/CALayer.j +++ b/AppKit/CoreAnimation/CALayer.j @@ -522,7 +522,7 @@ var CALayerRegisteredRunLoopUpdates = nil; if (USE_BUFFER) { if (_delegateRespondsToDisplayLayerSelector) - return [_delegate displayInLayer:self]; + return [_delegate displayLayer:self]; if (CGRectGetWidth(_backingStoreFrame) == 0.0 || CGRectGetHeight(_backingStoreFrame) == 0.0) return;