[webkit-changes] [WebKit/WebKit] efdfd8: Remove unneeded 'respondsToSelector' check for lon...
Brent Fulgham
noreply at github.com
Mon Jul 8 11:10:50 PDT 2024
Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: efdfd8741497d3b7971e6f3ea4c65c9a0b29ad83
https://github.com/WebKit/WebKit/commit/efdfd8741497d3b7971e6f3ea4c65c9a0b29ad83
Author: Brent Fulgham <bfulgham at apple.com>
Date: 2024-07-08 (Mon, 08 Jul 2024)
Changed paths:
M Source/WebCore/platform/audio/ios/AudioSessionIOS.mm
Log Message:
-----------
Remove unneeded 'respondsToSelector' check for long-existing SPI
https://bugs.webkit.org/show_bug.cgi?id=276153
<rdar://problem/131003349>
Reviewed by Eric Carlson.
The AVAudioSession SPI `setAuditTokensForProcessAssertion` has been in the system for
many releases. We should not perform an unnecessary selector check on every call to
`AudioSessionIOS::setPresentingProcesses`
* Source/WebCore/platform/audio/ios/AudioSessionIOS.mm:
(WebCore::AudioSessionIOS::setPresentingProcesses):
Canonical link: https://commits.webkit.org/280745@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