Changeset 85265 in webkit
- Timestamp:
- Apr 28, 2011 5:03:50 PM (13 years ago)
- Location:
- trunk/Source/JavaScriptCore
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/JavaScriptCore/ChangeLog
r85256 r85265 1 2011-04-28 David Kilzer <ddkilzer@apple.com> 2 3 Revert "<http://webkit.org/b/59705> WTF::postTimer() leaks a CFRunLoopTimerRef every time it's called" 4 5 This reverts commit r85195. It was crashing DumpRenderTree on Lion. 6 7 * wtf/mac/MainThreadMac.mm: 8 (WTF::postTimer): 9 1 10 2011-04-28 Adam Barth <abarth@webkit.org> 2 11 -
trunk/Source/JavaScriptCore/wtf/mac/MainThreadMac.mm
r85195 r85265 34 34 #import <stdio.h> 35 35 #import <wtf/Assertions.h> 36 #import <wtf/RetainPtr.h>37 36 #import <wtf/Threading.h> 38 37 … … 97 96 98 97 isTimerPosted = true; 99 RetainPtr<CFRunLoopTimerRef> runLoopTimer(AdoptCF, CFRunLoopTimerCreate(0, 0, 0, 0, 0, timerFired, 0)); 100 CFRunLoopAddTimer(CFRunLoopGetCurrent(), runLoopTimer.get(), kCFRunLoopCommonModes); 98 CFRunLoopAddTimer(CFRunLoopGetCurrent(), CFRunLoopTimerCreate(0, 0, 0, 0, 0, timerFired, 0), kCFRunLoopCommonModes); 101 99 } 102 100
Note: See TracChangeset
for help on using the changeset viewer.