Changeset 245419 in webkit
- Timestamp:
- May 16, 2019, 4:24:10 PM (7 years ago)
- Location:
- trunk/Tools
- Files:
-
- 2 edited
-
ChangeLog (modified) (1 diff)
-
WebKitTestRunner/InjectedBundle/mac/TestRunnerMac.mm (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/Tools/ChangeLog
r245418 r245419 1 2019-05-16 David Kilzer <ddkilzer@apple.com> 2 3 REGRESSION (r84160): Leak of OpaqueJSString under WTR::JSTestRunner::pathToLocalResource (32 bytes) in com.apple.WebKit.WebContent running layout tests 4 <https://webkit.org/b/197965> 5 6 Reviewed by Joseph Pecoraro. 7 8 * WebKitTestRunner/InjectedBundle/mac/TestRunnerMac.mm: 9 (WTR::TestRunner::pathToLocalResource): Don't call 10 JSStringRetain() here because the JSRetainPtr<JSStringRef> 11 return type will increment the retain count for us. 12 1 13 2019-05-16 Alex Christensen <achristensen@webkit.org> 2 14 -
trunk/Tools/WebKitTestRunner/InjectedBundle/mac/TestRunnerMac.mm
r244723 r245419 39 39 JSRetainPtr<JSStringRef> TestRunner::pathToLocalResource(JSStringRef url) 40 40 { 41 return JSStringRetain(url); // Do nothing on mac.41 return url; // Do nothing on Cocoa. 42 42 } 43 43
Note:
See TracChangeset
for help on using the changeset viewer.