Title: [276921] trunk/Source/WebCore
Revision
276921
Author
sihui_...@apple.com
Date
2021-05-03 13:22:57 -0700 (Mon, 03 May 2021)

Log Message

Unreviewed, reverting r276913.

Commit can cause double release

Reverted changeset:

"Transfer ownership to ARC in
speechSynthesisGetDefaultVoiceIdentifierForLocale"
https://bugs.webkit.org/show_bug.cgi?id=225312
https://commits.webkit.org/r276913

Modified Paths

Diff

Modified: trunk/Source/WebCore/ChangeLog (276920 => 276921)


--- trunk/Source/WebCore/ChangeLog	2021-05-03 20:17:23 UTC (rev 276920)
+++ trunk/Source/WebCore/ChangeLog	2021-05-03 20:22:57 UTC (rev 276921)
@@ -1,3 +1,16 @@
+2021-05-03  Sihui Liu  <sihui_...@apple.com>
+
+        Unreviewed, reverting r276913.
+
+        Commit can cause double release
+
+        Reverted changeset:
+
+        "Transfer ownership to ARC in
+        speechSynthesisGetDefaultVoiceIdentifierForLocale"
+        https://bugs.webkit.org/show_bug.cgi?id=225312
+        https://commits.webkit.org/r276913
+
 2021-05-03  Devin Rousso  <drou...@apple.com>
 
         [macCatalyst] "Enter Full Screen" button in media controls disappears

Modified: trunk/Source/WebCore/platform/mac/PlatformSpeechSynthesizerMac.mm (276920 => 276921)


--- trunk/Source/WebCore/platform/mac/PlatformSpeechSynthesizerMac.mm	2021-05-03 20:17:23 UTC (rev 276920)
+++ trunk/Source/WebCore/platform/mac/PlatformSpeechSynthesizerMac.mm	2021-05-03 20:22:57 UTC (rev 276921)
@@ -227,7 +227,7 @@
     if (!userLocale)
         return nil;
 
-    return adoptCF(GetIdentifierStringForPreferredVoiceInListWithLocale(speechSynthesisGetVoiceIdentifiers().get(), (__bridge CFLocaleRef)userLocale)).bridgingAutorelease();
+    return (__bridge NSString *)GetIdentifierStringForPreferredVoiceInListWithLocale(speechSynthesisGetVoiceIdentifiers().get(), (__bridge CFLocaleRef)userLocale);
 }
 
 void PlatformSpeechSynthesizer::initializeVoiceList()
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to