Title: [280007] trunk/Source/WebCore
Revision
280007
Author
[email protected]
Date
2021-07-16 16:23:44 -0700 (Fri, 16 Jul 2021)

Log Message

Fix Apple internal build

Unreviewed.

No new tests because there is no behavior change.

* platform/mac/PlatformSpeechSynthesizerMac.mm:
(WebCore::speechSynthesisGetDefaultVoiceIdentifierForLocale):

Modified Paths

Diff

Modified: trunk/Source/WebCore/ChangeLog (280006 => 280007)


--- trunk/Source/WebCore/ChangeLog	2021-07-16 23:22:27 UTC (rev 280006)
+++ trunk/Source/WebCore/ChangeLog	2021-07-16 23:23:44 UTC (rev 280007)
@@ -1,3 +1,14 @@
+2021-07-16  Myles C. Maxfield  <[email protected]>
+
+        Fix Apple internal build
+
+        Unreviewed.
+
+        No new tests because there is no behavior change.
+
+        * platform/mac/PlatformSpeechSynthesizerMac.mm:
+        (WebCore::speechSynthesisGetDefaultVoiceIdentifierForLocale):
+
 2021-07-16  Brady Eidson  <[email protected]>
 
         FetchBodySource/FetchBodyOwner cleanup

Modified: trunk/Source/WebCore/platform/mac/PlatformSpeechSynthesizerMac.mm (280006 => 280007)


--- trunk/Source/WebCore/platform/mac/PlatformSpeechSynthesizerMac.mm	2021-07-16 23:22:27 UTC (rev 280006)
+++ trunk/Source/WebCore/platform/mac/PlatformSpeechSynthesizerMac.mm	2021-07-16 23:23:44 UTC (rev 280007)
@@ -227,7 +227,10 @@
     if (!userLocale)
         return nil;
 
+#pragma clang diagnostic push
+#pragma clang diagnostic ignored "-Wdeprecated-declarations"
     return (__bridge NSString *)GetIdentifierStringForPreferredVoiceInListWithLocale(speechSynthesisGetVoiceIdentifiers().get(), (__bridge CFLocaleRef)userLocale);
+#pragma clang diagnostic pop
 }
 
 void PlatformSpeechSynthesizer::initializeVoiceList()
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to