Unreviewed, fix watchOS and tvOS builds after r251224
authorwenson_hsieh@apple.com <wenson_hsieh@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 17 Oct 2019 16:04:54 +0000 (16:04 +0000)
committerwenson_hsieh@apple.com <wenson_hsieh@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 17 Oct 2019 16:04:54 +0000 (16:04 +0000)
commit380c273cb65985bb14ab55fdeb1307bb0e987546
treec2e21b4fbee08f23d7c6db0e96f4d34175ee8351
parent4c17aeb04901a0c473b24b846b72a60da2d95b95
Unreviewed, fix watchOS and tvOS builds after r251224

* platform/ios/PlatformPasteboardIOS.mm:
(WebCore::shouldTreatAtLeastOneTypeAsFile):

Move the `shouldTreatAtLeastOneTypeAsFile` helper function out of the `PASTEBOARD_SUPPORTS_ITEM_PROVIDERS`
section, and into generic iOS-family code so that it can be used in `pasteboardMayContainFilePaths`.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@251236 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Source/WebCore/ChangeLog
Source/WebCore/platform/ios/PlatformPasteboardIOS.mm