Changeset 290083 in webkit
- Timestamp:
- Feb 17, 2022, 3:29:34 PM (4 years ago)
- Location:
- branches/safari-614.1.4-branch/Source
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/safari-614.1.4-branch/Source/WTF/ChangeLog
r289722 r290083 1 2022-02-17 Alan Coon <alancoon@apple.com> 2 3 Cherry-pick r290076. rdar://problem/89076606 4 5 [Cocoa] Make AVFoundationSPI.h robust against changes in system headers 6 https://bugs.webkit.org/show_bug.cgi?id=236787 7 8 Reviewed by Eric Carlson. 9 10 Source/WebCore/PAL: 11 12 Only re-declare classes and add categories for non-Apple Internal builds, or when those 13 definitions would be missing from system headers. The presence of the classes and their 14 methods are already checked at runtime, so this is a build-only change. 15 16 * pal/spi/cocoa/AVFoundationSPI.h: 17 18 Source/WTF: 19 20 * wtf/PlatformHave.h: 21 22 git-svn-id: https://svn.webkit.org/repository/webkit/trunk@290076 268f45cc-cd09-0410-ab3c-d52691b4dbfc 23 24 2022-02-17 Jer Noble <jer.noble@apple.com> 25 26 [Cocoa] Make AVFoundationSPI.h robust against changes in system headers 27 https://bugs.webkit.org/show_bug.cgi?id=236787 28 29 Reviewed by Eric Carlson. 30 31 * wtf/PlatformHave.h: 32 1 33 2022-02-13 Matt Woodrow <mattwoodrow@apple.com> 2 34 -
branches/safari-614.1.4-branch/Source/WTF/wtf/PlatformHave.h
r289696 r290083 389 389 #endif 390 390 391 #if (PLATFORM(MAC) && __MAC_OS_X_VERSION_MAX_ALLOWED >= 101504) \ 392 || (((PLATFORM(IOS) && !PLATFORM(IOS_FAMILY_SIMULATOR)) || PLATFORM(MACCATALYST)) && __IPHONE_OS_VERSION_MAX_ALLOWED >= 130400) \ 393 || (PLATFORM(WATCHOS) && !PLATFORM(IOS_FAMILY_SIMULATOR) && __WATCH_OS_VERSION_MAX_ALLOWED >= 60400) \ 394 || (PLATFORM(APPLETV) && !PLATFORM(IOS_FAMILY_SIMULATOR) && __TV_OS_VERSION_MAX_ALLOWED >= 130400) 395 #define HAVE_AVCONTENTKEYREPORTGROUP 1 396 #endif 397 398 #if (PLATFORM(MAC) && __MAC_OS_X_VERSION_MIN_REQUIRED >= 110000) \ 399 || (((PLATFORM(IOS) && !PLATFORM(IOS_FAMILY_SIMULATOR)) || PLATFORM(MACCATALYST)) && __IPHONE_OS_VERSION_MIN_REQUIRED >= 140000) 400 #define HAVE_AVCONTENTKEYSESSIONWILLOUTPUTBEOBSCURED 1 401 #endif 402 391 403 #if PLATFORM(MAC) || PLATFORM(IOS) || PLATFORM(MACCATALYST) 392 404 #define HAVE_SEC_KEY_PROXY 1 -
branches/safari-614.1.4-branch/Source/WebCore/PAL/ChangeLog
r289697 r290083 1 2022-02-17 Alan Coon <alancoon@apple.com> 2 3 Cherry-pick r290076. rdar://problem/89076606 4 5 [Cocoa] Make AVFoundationSPI.h robust against changes in system headers 6 https://bugs.webkit.org/show_bug.cgi?id=236787 7 8 Reviewed by Eric Carlson. 9 10 Source/WebCore/PAL: 11 12 Only re-declare classes and add categories for non-Apple Internal builds, or when those 13 definitions would be missing from system headers. The presence of the classes and their 14 methods are already checked at runtime, so this is a build-only change. 15 16 * pal/spi/cocoa/AVFoundationSPI.h: 17 18 Source/WTF: 19 20 * wtf/PlatformHave.h: 21 22 git-svn-id: https://svn.webkit.org/repository/webkit/trunk@290076 268f45cc-cd09-0410-ab3c-d52691b4dbfc 23 24 2022-02-17 Jer Noble <jer.noble@apple.com> 25 26 [Cocoa] Make AVFoundationSPI.h robust against changes in system headers 27 https://bugs.webkit.org/show_bug.cgi?id=236787 28 29 Reviewed by Eric Carlson. 30 31 Only re-declare classes and add categories for non-Apple Internal builds, or when those 32 definitions would be missing from system headers. The presence of the classes and their 33 methods are already checked at runtime, so this is a build-only change. 34 35 * pal/spi/cocoa/AVFoundationSPI.h: 36 1 37 2022-02-12 Jer Noble <jer.noble@apple.com> 2 38 -
branches/safari-614.1.4-branch/Source/WebCore/PAL/pal/spi/cocoa/AVFoundationSPI.h
r288031 r290083 38 38 #import <AVFoundation/AVAssetCache_Private.h> 39 39 #import <AVFoundation/AVCaptureSession_Private.h> 40 #import <AVFoundation/AVContentKeySession_Private.h> 40 41 #import <AVFoundation/AVMediaSelectionGroup_Private.h> 41 42 #import <AVFoundation/AVOutputContext_Private.h> … … 225 226 226 227 #if HAVE(AVCONTENTKEYSESSION) 228 229 #if !USE(APPLE_INTERNAL_SDK) || !HAVE(AVCONTENTKEYREPORTGROUP) 227 230 @interface AVContentKeyReportGroup : NSObject 228 231 @property (readonly, nullable) NSData *contentProtectionSessionIdentifier; … … 236 239 - (nonnull AVContentKeyReportGroup *)makeContentKeyGroup; 237 240 @end 238 241 #endif 242 243 #if !USE(APPLE_INTERNAL_SDK) || !HAVE(AVCONTENTKEYSESSIONWILLOUTPUTBEOBSCURED) 239 244 @interface AVContentKeyRequest (OutputObscured) 240 245 NS_ASSUME_NONNULL_BEGIN … … 242 247 NS_ASSUME_NONNULL_END 243 248 @end 244 245 #if HAVE(AVCONTENTKEYREQUEST_PENDING_PROTECTION_STATUS) 249 #endif 250 251 #if !USE(APPLE_INTERNAL_SDK) || !HAVE(AVCONTENTKEYREQUEST_PENDING_PROTECTION_STATUS) 246 252 typedef NS_ENUM(NSInteger, AVExternalContentProtectionStatus) { 247 253 AVExternalContentProtectionStatusPending = 0,
Note:
See TracChangeset
for help on using the changeset viewer.