Summary: | Stop using objc_autoreleasePool{Push, Pop} in RunLoop observers | ||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Product: | WebKit | Reporter: | Geoffrey Garen <ggaren> | ||||||||||||
Component: | New Bugs | Assignee: | Geoffrey Garen <ggaren> | ||||||||||||
Status: | RESOLVED FIXED | ||||||||||||||
Severity: | Normal | CC: | benjamin, cdumez, cmarcelo, ews-watchlist, thorton | ||||||||||||
Priority: | P2 | Keywords: | InRadar | ||||||||||||
Version: | WebKit Nightly Build | ||||||||||||||
Hardware: | Unspecified | ||||||||||||||
OS: | Unspecified | ||||||||||||||
Attachments: |
|
Description
Geoffrey Garen
2020-11-09 16:11:20 PST
Created attachment 413642 [details]
Patch
Created attachment 413719 [details]
Patch
Comment on attachment 413719 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=413719&action=review > Source/WebCore/platform/ios/wak/WebCoreThread.mm:60 > +static inline bool _CFRunLoopSetPerCalloutAutoreleasepoolEnabled(BOOL) Don't we usually do a forward-declaration for those things instead of providing our own implementation? Like we do in all our *SPI.h headers? Comment on attachment 413719 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=413719&action=review >> Source/WebCore/platform/ios/wak/WebCoreThread.mm:60 >> +static inline bool _CFRunLoopSetPerCalloutAutoreleasepoolEnabled(BOOL) > > Don't we usually do a forward-declaration for those things instead of providing our own implementation? Like we do in all our *SPI.h headers? Yes (and technically it should be /in/ a SPI header... see CFBundleSPI or CFStringSPI, and make a CFRunLoopSPI). Created attachment 413734 [details]
Patch
Comment on attachment 413734 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=413734&action=review > Source/WTF/wtf/spi/cf/CFRunLoopSPI.h:2 > + * Copyright (C) 2017 Apple Inc. All rights reserved. If only Created attachment 413746 [details]
Patch for landing
ChangeLog entry in Source/WebCore/ChangeLog contains OOPS!. Created attachment 413748 [details]
Patch for landing
Committed r269658: <https://trac.webkit.org/changeset/269658> All reviewed patches have been landed. Closing bug and clearing flags on attachment 413748 [details]. |