diff --git a/Source/WTF/wtf/PlatformUse.h b/Source/WTF/wtf/PlatformUse.h index cb3dbebd4314..29c24e702b4f 100644 --- a/Source/WTF/wtf/PlatformUse.h +++ b/Source/WTF/wtf/PlatformUse.h @@ -372,10 +372,6 @@ #define USE_NSVIEW_SEMANTICCONTEXT 1 #endif -#if PLATFORM(IOS) && __IPHONE_OS_VERSION_MIN_REQUIRED >= 170000 -#define USE_MEDIAPARSERD 1 -#endif - #if (PLATFORM(MAC) && __MAC_OS_X_VERSION_MIN_REQUIRED < 130000) #define USE_AVIF 1 #endif diff --git a/Source/WebCore/PAL/pal/spi/cocoa/AVFoundationSPI.h b/Source/WebCore/PAL/pal/spi/cocoa/AVFoundationSPI.h index 4aa7a6ad853e..8d236a04615d 100644 --- a/Source/WebCore/PAL/pal/spi/cocoa/AVFoundationSPI.h +++ b/Source/WebCore/PAL/pal/spi/cocoa/AVFoundationSPI.h @@ -479,9 +479,3 @@ NS_ASSUME_NONNULL_BEGIN NS_ASSUME_NONNULL_END #endif // HAVE(AVSAMPLEBUFFERVIDEOOUTPUT) - -#if USE(MEDIAPARSERD) -@interface AVStreamDataParser (SandboxedParsing) -@property (nonatomic) BOOL preferSandboxedParsing; -@end -#endif diff --git a/Source/WebCore/PAL/pal/spi/cocoa/AVStreamDataParserSPI.h b/Source/WebCore/PAL/pal/spi/cocoa/AVStreamDataParserSPI.h index 921240b347c4..19686ae9a62b 100644 --- a/Source/WebCore/PAL/pal/spi/cocoa/AVStreamDataParserSPI.h +++ b/Source/WebCore/PAL/pal/spi/cocoa/AVStreamDataParserSPI.h @@ -70,4 +70,8 @@ typedef NS_ENUM(NSUInteger, AVStreamDataParserOutputMediaDataFlags) { @interface AVStreamDataParser (AVStreamDataParserContentKeyEligibility) @end +@interface AVStreamDataParser (AVStreamDataParserSandboxedParsing) +@property (nonatomic) BOOL preferSandboxedParsing; +@end + NS_ASSUME_NONNULL_END