[Webkit-unassigned] [Bug 230735] Add a module map file for PrivateFrameworks/WebKitLegacy

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Oct 21 20:57:37 PDT 2021


https://bugs.webkit.org/show_bug.cgi?id=230735

--- Comment #19 from Ian Anderson <iana at apple.com> ---
Comment on attachment 441851
  --> https://bugs.webkit.org/attachment.cgi?id=441851
Patch

View in context: https://bugs.webkit.org/attachment.cgi?id=441851&action=review

>>> Source/WebKitLegacy/mac/Misc/WebDownload.h:40
>>>  #import <WebKitLegacy/NSURLDownloadSPI.h>
>> 
>> Both WebDownload.h and NSURLDownloadSPI.h are marked as Private headers, so we should be able to replace all of this with just:
>> 
>> #import <WebKitLegacy/NSURLDownloadSPI.h>
>> 
>> Since that has al the same logic as this block of macros.
> 
> I did that in one version of this and I'm trying to remember why I didn't leave it that way. I thought someone had told me to not do it like that but I don't see that comment either. Let me try and see what happens.

Oh now I remember. WebDownload.h is a public header in WebKit so it can't unconditionally import NSURLDownloadSPI.h because that's a private header. (That's going to be a problem later when WebKit gets fully modularized...)

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20211022/3a192819/attachment-0001.htm>


More information about the webkit-unassigned mailing list