Bug 175683 - Fix the build on other platforms after r220865
Summary: Fix the build on other platforms after r220865
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebCore Misc. (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Wenson Hsieh
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2017-08-17 13:08 PDT by Wenson Hsieh
Modified: 2017-08-17 15:21 PDT (History)
4 users (show)

See Also:


Attachments
Patch (11.79 KB, patch)
2017-08-17 13:25 PDT, Wenson Hsieh
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Wenson Hsieh 2017-08-17 13:08:09 PDT
Currently, NSItemProvider-related UIPasteboard APIs only exist in the iOS 11 SDK. I tried to guard iOS 10 codepaths in PlatformPasteboardIOS.mm with __IPHONE_OS_VERSION_MAX_ALLOWED < 110000 and assume that item provider APIs would be available otherwise, but this is not the case. Revert to special casing code that uses item provider APIs with __IPHONE_OS_VERSION_MIN_REQUIRED >= 110000, instead of the inverse.
Comment 1 Wenson Hsieh 2017-08-17 13:25:20 PDT
Created attachment 318409 [details]
Patch
Comment 2 Wenson Hsieh 2017-08-17 14:50:18 PDT
Comment on attachment 318409 [details]
Patch

Thanks Tim!
Comment 3 WebKit Commit Bot 2017-08-17 15:20:06 PDT
Comment on attachment 318409 [details]
Patch

Clearing flags on attachment: 318409

Committed r220883: <http://trac.webkit.org/changeset/220883>
Comment 4 WebKit Commit Bot 2017-08-17 15:20:08 PDT
All reviewed patches have been landed.  Closing bug.
Comment 5 Radar WebKit Bug Importer 2017-08-17 15:21:03 PDT
<rdar://problem/33951376>