Bug 279528
Summary: | Prefer CFDataCreateMutable over [[NSMutableData alloc] init] followed by a cast | ||
---|---|---|---|
Product: | WebKit | Reporter: | Seija K. <gfunni234> |
Component: | Platform | Assignee: | Nobody <webkit-unassigned> |
Status: | NEW | ||
Severity: | Normal | CC: | ahmad.saleem792, webkit-bug-importer |
Priority: | P2 | Keywords: | InRadar |
Version: | WebKit Nightly Build | ||
Hardware: | Unspecified | ||
OS: | Unspecified |
Seija K.
Creating an NSMutableArray and only to use it as casted to CFMutableArrayRef is uglier than just making a CFMutableData object and releasing that when done.
Attachments | ||
---|---|---|
Add attachment proposed patch, testcase, etc. |
Ahmad Saleem
PR - https://github.com/WebKit/WebKit/pull/33478
Radar WebKit Bug Importer
<rdar://problem/136238408>