Summary: | Fix the build with no pasteboard | ||||||||
---|---|---|---|---|---|---|---|---|---|
Product: | WebKit | Reporter: | Tim Horton <thorton> | ||||||
Component: | New Bugs | Assignee: | Tim Horton <thorton> | ||||||
Status: | RESOLVED FIXED | ||||||||
Severity: | Normal | CC: | ews-watchlist, keith_miller, mark.lam, mitz, msaboff, saam, webkit-bug-importer, wenson_hsieh | ||||||
Priority: | P2 | Keywords: | InRadar | ||||||
Version: | WebKit Nightly Build | ||||||||
Hardware: | Unspecified | ||||||||
OS: | Unspecified | ||||||||
Attachments: |
|
Description
Tim Horton
2018-03-23 22:33:25 PDT
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
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 |