Skip to content

Commit

Permalink
[Cocoa] Adopt AVContentKeySession compatibility mode APIs
Browse files Browse the repository at this point in the history
https://bugs.webkit.org/show_bug.cgi?id=246116
rdar://97347572

Unreviewed build fix; reverse the logic of HAVE(AVCONTENTKEYREQUEST_COMPATABILITIY_MODE) in AVFoundationSPI.h.

* Source/WebCore/PAL/pal/spi/cocoa/AVFoundationSPI.h:

Canonical link: https://commits.webkit.org/256356@main
  • Loading branch information
jernoble committed Nov 5, 2022
1 parent ce48d37 commit 02eddf0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Source/WebCore/PAL/pal/spi/cocoa/AVFoundationSPI.h
Expand Up @@ -256,7 +256,7 @@ typedef NS_ENUM(NSInteger, AVExternalContentProtectionStatus) {
@end
#endif

#if !HAVE(AVCONTENTKEYREQUEST_COMPATABILITIY_MODE)
#if HAVE(AVCONTENTKEYREQUEST_COMPATABILITIY_MODE)
NS_ASSUME_NONNULL_BEGIN
@interface AVContentKeyRequest (AVContentKeyRequest_WebKitCompatibilityMode)
+ (instancetype)contentKeySessionWithLegacyWebKitCompatibilityModeAndKeySystem:(AVContentKeySystem)keySystem storageDirectoryAtURL:(NSURL *)storageURL;
Expand Down

0 comments on commit 02eddf0

Please sign in to comment.