[webkit-changes] [WebKit/WebKit] 83ac36: [macOS] Remove `respondsToSelector` checks for req...
Brent Fulgham
noreply at github.com
Wed Jul 3 16:15:04 PDT 2024
Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 83ac362bf43b93a01f3146b4ba041d6cbaed7cb2
https://github.com/WebKit/WebKit/commit/83ac362bf43b93a01f3146b4ba041d6cbaed7cb2
Author: Brent Fulgham <bfulgham at apple.com>
Date: 2024-07-03 (Wed, 03 Jul 2024)
Changed paths:
M Source/WebCore/platform/mac/PlatformScreenMac.mm
Log Message:
-----------
[macOS] Remove `respondsToSelector` checks for required AVPlayer method available since macOS 11 (276183)
https://bugs.webkit.org/show_bug.cgi?id=276183
<rdar://problem/131067076>
Reviewed by Sihui Liu.
AVPlayer has supported preferredVideoRangeForDisplays since macOS 11. There is no need to
perform a selector check for this method any longer, since no supported OS lacks this
feature.
* Source/WebCore/platform/mac/PlatformScreenMac.mm:
(WebCore::collectScreenProperties):
(WebCore::preferredDynamicRangeMode):
Canonical link: https://commits.webkit.org/280646@main
To unsubscribe from these emails, change your notification settings at https://github.com/WebKit/WebKit/settings/notifications
More information about the webkit-changes
mailing list