Fix the build with no pasteboard
Created attachment 336460 [details] Patch
Comment on attachment 336460 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=336460&action=review > Source/WebKitLegacy/mac/WebView/WebView.mm:1943 > +#else // ENABLE(DRAG_SUPPORT) I doubt that the comment is helpful. > Source/WebKitLegacy/mac/WebView/WebView.mm:2012 > +#endif // !ENABLE(DRAG_SUPPORT) Ditto.
Created attachment 336463 [details] Patch
https://trac.webkit.org/r229943
<rdar://problem/38820296>
<rdar://problem/38820298>
This appears to have broken the watchOS build, wherein ENABLE_DRAG_SUPPORT is 0 and UIDropSession is not defined. Should we change the #else to #elif __IPHONE_OS_VERSION_MIN_REQUIRED >= 110000?
(In reply to Wenson Hsieh from comment #7) > This appears to have broken the watchOS build, wherein ENABLE_DRAG_SUPPORT > is 0 and UIDropSession is not defined. > > Should we change the #else to #elif __IPHONE_OS_VERSION_MIN_REQUIRED >= > 110000? Yes! Will do.
Did that in https://trac.webkit.org/changeset/229947/webkit