⚠ Archived content — this site is no longer maintained.   Current WebKit documentation is at docs.webkit.org.

Changeset 254620 in webkit


Ignore:
Timestamp:
Jan 15, 2020, 11:16:25 AM (7 years ago)
Author:
Alan Coon
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

Location:
branches/safari-609-branch/Source/WTF
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/safari-609-branch/Source/WTF/ChangeLog

    r254619 r254620  
     12020-01-15  Alan Coon  <alancoon@apple.com>
     2
     3        Cherry-pick r254413. rdar://problem/58548648
     4
     5    REGRESSION(r185816): In the Hong Kong locale, navigator.language reports it's in the Taiwan locale
     6    https://bugs.webkit.org/show_bug.cgi?id=200043
     7   
     8    Unreviewed.
     9   
     10    Fix build.
     11   
     12    * wtf/cocoa/LanguageCocoa.mm:
     13    (WTF::canMinimizeLanguages):
     14   
     15    git-svn-id: https://svn.webkit.org/repository/webkit/trunk@254413 268f45cc-cd09-0410-ab3c-d52691b4dbfc
     16
     17    2020-01-11  Myles C. Maxfield  <mmaxfield@apple.com>
     18
     19            REGRESSION(r185816): In the Hong Kong locale, navigator.language reports it's in the Taiwan locale
     20            https://bugs.webkit.org/show_bug.cgi?id=200043
     21
     22            Unreviewed.
     23
     24            Fix build.
     25
     26            * wtf/cocoa/LanguageCocoa.mm:
     27            (WTF::canMinimizeLanguages):
     28
    1292020-01-15  Alan Coon  <alancoon@apple.com>
    230
  • branches/safari-609-branch/Source/WTF/wtf/cocoa/LanguageCocoa.mm

    r254619 r254620  
    3535{
    3636    static bool result = [NSLocale respondsToSelector:@selector(minimizedLanguagesFromLanguages:)];
    37     return result.get();
     37    return result;
    3838}
    3939
Note: See TracChangeset for help on using the changeset viewer.