Changeset 254413 in webkit


Ignore:
Timestamp:
Jan 11, 2020 11:44:15 PM (4 years ago)
Author:
mmaxfield@apple.com
Message:

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):

Location:
trunk/Source/WTF
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WTF/ChangeLog

    r254412 r254413  
     12020-01-11  Myles C. Maxfield  <mmaxfield@apple.com>
     2
     3        REGRESSION(r185816): In the Hong Kong locale, navigator.language reports it's in the Taiwan locale
     4        https://bugs.webkit.org/show_bug.cgi?id=200043
     5
     6        Unreviewed.
     7
     8        Fix build.
     9
     10        * wtf/cocoa/LanguageCocoa.mm:
     11        (WTF::canMinimizeLanguages):
     12
    1132020-01-11  Myles C. Maxfield  <mmaxfield@apple.com>
    214
  • trunk/Source/WTF/wtf/cocoa/LanguageCocoa.mm

    r254412 r254413  
    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.