From 5a9682b1bde05c291ed38ff0d762e1c1c4c65057 Mon Sep 17 00:00:00 2001 From: Ross Boucher Date: Tue, 16 Mar 2010 18:13:12 -0700 Subject: [PATCH] Remove two calls to a dead function. --- AppKit/CPApplication.j | 2 -- AppKit/CoreAnimation/CALayer.j | 3 +-- 2 files changed, 1 insertion(+), 4 deletions(-) diff --git a/AppKit/CPApplication.j b/AppKit/CPApplication.j index 89aad865e..2f67b076d 100644 --- a/AppKit/CPApplication.j +++ b/AppKit/CPApplication.j @@ -912,8 +912,6 @@ CPRunContinuesResponse = -1002; - (void)setCallback:(Function)aCallback forNextEventMatchingMask:(unsigned int)aMask untilDate:(CPDate)anExpiration inMode:(CPString)aMode dequeue:(BOOL)shouldDequeue { _eventListeners.push(_CPEventListenerMake(aMask, aCallback)); - - if (_eventListeners.length == 3) objj_debug_print_backtrace(); } - (CPEvent)setTarget:(id)aTarget selector:(SEL)aSelector forNextEventMatchingMask:(unsigned int)aMask untilDate:(CPDate)anExpiration inMode:(CPString)aMode dequeue:(BOOL)shouldDequeue diff --git a/AppKit/CoreAnimation/CALayer.j b/AppKit/CoreAnimation/CALayer.j index 4df328715..7a27d7a34 100644 --- a/AppKit/CoreAnimation/CALayer.j +++ b/AppKit/CoreAnimation/CALayer.j @@ -777,8 +777,7 @@ if (_DOMContentsElement && aLayer._zPosition > _DOMContentsElement.style.zIndex) @ignore */ + (void)runLoopUpdateLayers -{if (window.oops) {alert(window.latest); objj_debug_print_backtrace();} - window.loop = true; +{ for (UID in CALayerRegisteredRunLoopUpdates) { var layer = CALayerRegisteredRunLoopUpdates[UID],