Unreviewed build fix after r225766.
authorjoepeck@webkit.org <joepeck@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 12 Dec 2017 07:20:37 +0000 (07:20 +0000)
committerjoepeck@webkit.org <joepeck@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 12 Dec 2017 07:20:37 +0000 (07:20 +0000)
* pal/spi/mac/AVFoundationSPI.h:
Conform AVStreamDataParser to the AVContentKeyRecipient protocol if available.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@225777 268f45cc-cd09-0410-ab3c-d52691b4dbfc

Source/WebCore/PAL/ChangeLog
Source/WebCore/PAL/pal/spi/mac/AVFoundationSPI.h

index 1ecad17..fab8bb1 100644 (file)
@@ -1,3 +1,10 @@
+2017-12-11  Joseph Pecoraro  <pecoraro@apple.com>
+
+        Unreviewed build fix after r225766.
+
+        * pal/spi/mac/AVFoundationSPI.h:
+        Conform AVStreamDataParser to the AVContentKeyRecipient protocol if available.
+
 2017-12-11  David Quesada  <david_quesada@apple.com>
 
         Turn on ENABLE_APPLICATION_MANIFEST
index a011eea..6620414 100644 (file)
@@ -146,6 +146,12 @@ typedef NS_ENUM(NSUInteger, AVStreamDataParserStreamDataFlags) {
 
 NS_ASSUME_NONNULL_END
 
+#if HAVE(AVCONTENTKEYSESSION)
+#import <AVFoundation/AVContentKeySession.h>
+@interface AVStreamDataParser () <AVContentKeyRecipient>
+@end
+#endif
+
 #endif // !PLATFORM(IOS)
 #endif // USE(APPLE_INTERNAL_SDK)