Title: [254620] branches/safari-609-branch/Source/WTF
Revision
254620
Author
alanc...@apple.com
Date
2020-01-15 11:16:25 -0800 (Wed, 15 Jan 2020)

Log Message

Cherry-pick r254413. rdar://problem/58548648

    REGRESSION(r185816): In the Hong Kong locale, navigator.language reports it's in the Taiwan locale
    https://bugs.webkit.org/show_bug.cgi?id=200043

    Unreviewed.

    Fix build.

    * wtf/cocoa/LanguageCocoa.mm:
    (WTF::canMinimizeLanguages):

    git-svn-id: https://svn.webkit.org/repository/webkit/trunk@254413 268f45cc-cd09-0410-ab3c-d52691b4dbfc

Modified Paths

Diff

Modified: branches/safari-609-branch/Source/WTF/ChangeLog (254619 => 254620)


--- branches/safari-609-branch/Source/WTF/ChangeLog	2020-01-15 19:16:22 UTC (rev 254619)
+++ branches/safari-609-branch/Source/WTF/ChangeLog	2020-01-15 19:16:25 UTC (rev 254620)
@@ -1,5 +1,33 @@
 2020-01-15  Alan Coon  <alanc...@apple.com>
 
+        Cherry-pick r254413. rdar://problem/58548648
+
+    REGRESSION(r185816): In the Hong Kong locale, navigator.language reports it's in the Taiwan locale
+    https://bugs.webkit.org/show_bug.cgi?id=200043
+    
+    Unreviewed.
+    
+    Fix build.
+    
+    * wtf/cocoa/LanguageCocoa.mm:
+    (WTF::canMinimizeLanguages):
+    
+    git-svn-id: https://svn.webkit.org/repository/webkit/trunk@254413 268f45cc-cd09-0410-ab3c-d52691b4dbfc
+
+    2020-01-11  Myles C. Maxfield  <mmaxfi...@apple.com>
+
+            REGRESSION(r185816): In the Hong Kong locale, navigator.language reports it's in the Taiwan locale
+            https://bugs.webkit.org/show_bug.cgi?id=200043
+
+            Unreviewed.
+
+            Fix build.
+
+            * wtf/cocoa/LanguageCocoa.mm:
+            (WTF::canMinimizeLanguages):
+
+2020-01-15  Alan Coon  <alanc...@apple.com>
+
         Cherry-pick r254412. rdar://problem/58548648
 
     REGRESSION(r185816): In the Hong Kong locale, navigator.language reports it's in the Taiwan locale

Modified: branches/safari-609-branch/Source/WTF/wtf/cocoa/LanguageCocoa.mm (254619 => 254620)


--- branches/safari-609-branch/Source/WTF/wtf/cocoa/LanguageCocoa.mm	2020-01-15 19:16:22 UTC (rev 254619)
+++ branches/safari-609-branch/Source/WTF/wtf/cocoa/LanguageCocoa.mm	2020-01-15 19:16:25 UTC (rev 254620)
@@ -34,7 +34,7 @@
 bool canMinimizeLanguages()
 {
     static bool result = [NSLocale respondsToSelector:@selector(minimizedLanguagesFromLanguages:)];
-    return result.get();
+    return result;
 }
 
 RetainPtr<CFArrayRef> minimizedLanguagesFromLanguages(CFArrayRef languages)
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to