RESOLVED FIXED 180936
Conditionally forward declare NSMapTable SPI
https://bugs.webkit.org/show_bug.cgi?id=180936
Summary Conditionally forward declare NSMapTable SPI
Daniel Bates
Reported 2017-12-18 10:50:55 PST
Remove include of obsolete header NSMapTablePriv.h.
Attachments
Patch (1.15 KB, patch)
2017-12-18 11:07 PST, Daniel Bates
no flags
Patch (1.32 KB, patch)
2017-12-18 13:01 PST, Daniel Bates
no flags
Patch (1.32 KB, patch)
2017-12-18 13:02 PST, Daniel Bates
no flags
Daniel Bates
Comment 1 2017-12-18 10:51:15 PST
Daniel Bates
Comment 2 2017-12-18 11:07:09 PST
(In reply to Daniel Bates from comment #0) > Remove include of obsolete header NSMapTablePriv.h. Actually, we need to continue including this header for a bit longer.
Daniel Bates
Comment 3 2017-12-18 11:07:55 PST
mitz
Comment 4 2017-12-18 12:13:13 PST
Comment on attachment 329655 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=329655&action=review > Source/WTF/wtf/spi/cocoa/NSMapTableSPI.h:28 > +#if USE(APPLE_INTERNAL_SDK) && PLATFORM(IOS) && __IPHONE_OS_VERSION_MAX_ALLOWED < 120000 This has the effect of using the below declarations in the __IPHONE_OS_VERSION_MAX_ALLOWED >= 120000 case. But I think we shouldn’t make those declarations in that case, because they are already bade in NSMapTable.h, which we import above. My understanding is that the entire SPI header is only needed for older SDK versions (which don’t have the declarations in their NSMapTable.h), so it would be nice to express that with guards around the entire thing.
Daniel Bates
Comment 5 2017-12-18 13:01:51 PST
Daniel Bates
Comment 6 2017-12-18 13:02:57 PST
Daniel Bates
Comment 7 2017-12-18 13:23:59 PST
Comment on attachment 329663 [details] Patch Clearing flags on attachment: 329663 Committed r226073: <https://trac.webkit.org/changeset/226073>
Daniel Bates
Comment 8 2017-12-18 13:24:00 PST
All reviewed patches have been landed. Closing bug.
Note You need to log in before you can comment on or make changes to this bug.