These functions are currently only defined on iOS.
Created attachment 380470 [details] WIP
Created attachment 380475 [details] WIP: Try to fix GTK/WPE builds
Created attachment 380479 [details] Patch
Created attachment 380482 [details] WIP: Try to fix WPE build
Created attachment 380484 [details] WIP: Try to fix WPE build again
Created attachment 380487 [details] WIP: Try to fix WPE build again
Comment on attachment 380487 [details] WIP: Try to fix WPE build again View in context: https://bugs.webkit.org/attachment.cgi?id=380487&action=review > Source/WebCore/platform/mac/PlatformPasteboardMac.mm:387 > +static NSPasteboardType modernPasteboardTypeForWebSafeMIMEType(const String& webSafeType) Surely we have the MIME type strings somewhere and can use those
Comment on attachment 380487 [details] WIP: Try to fix WPE build again View in context: https://bugs.webkit.org/attachment.cgi?id=380487&action=review Thanks for the review! >> Source/WebCore/platform/mac/PlatformPasteboardMac.mm:387 >> +static NSPasteboardType modernPasteboardTypeForWebSafeMIMEType(const String& webSafeType) > > Surely we have the MIME type strings somewhere and can use those Interestingly, I couldn’t find anything that exposes these strings as constants (though I could imagine them on MIMETypeRegistry or something similar. Perhaps functions in a MIMETypes:: namespace?) For now, I’ll change these string constants to ASCIILiterals instead. I filed webkit.org/b/202776 to track exposing something on MIMETypeRegistry...
Created attachment 380594 [details] Patch for landing
Comment on attachment 380594 [details] Patch for landing Clearing flags on attachment: 380594 Committed r250950: <https://trac.webkit.org/changeset/250950>
<rdar://problem/56139814>