[webkit-changes] [WebKit/WebKit] 894477: [Cocoa] Simplify AVSpeechSynthesis calls now that ...
Brent Fulgham
noreply at github.com
Tue Jul 2 22:45:34 PDT 2024
Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 8944776028bdc0440edf4ebb0c16675859b28ca7
https://github.com/WebKit/WebKit/commit/8944776028bdc0440edf4ebb0c16675859b28ca7
Author: Brent Fulgham <bfulgham at apple.com>
Date: 2024-07-02 (Tue, 02 Jul 2024)
Changed paths:
M Source/WTF/wtf/PlatformHave.h
M Source/WebCore/platform/cocoa/PlatformSpeechSynthesizerCocoa.mm
Log Message:
-----------
[Cocoa] Simplify AVSpeechSynthesis calls now that macOS 13 is our baseline
https://bugs.webkit.org/show_bug.cgi?id=276146
<rdar://problem/130993603>
Reviewed by Chris Fleizach.
We no longer need an enablement macro for AVSPEECHSYNTHESIS_SYSTEMVOICE, since
all build targets now support this call.
This also allows us to remove a 'respondsToSelector' check on every
AVSpeechSynthesisVoice check when enabling voice lists.
* Source/WTF/wtf/PlatformHave.h:
* Source/WebCore/platform/cocoa/PlatformSpeechSynthesizerCocoa.mm:
(WebCore::PlatformSpeechSynthesizer::initializeVoiceList):
Canonical link: https://commits.webkit.org/280613@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