Title: [254413] trunk/Source/WTF
- Revision
- 254413
- Author
- [email protected]
- Date
- 2020-01-11 23:44:15 -0800 (Sat, 11 Jan 2020)
Log 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):
Modified Paths
Diff
Modified: trunk/Source/WTF/ChangeLog (254412 => 254413)
--- trunk/Source/WTF/ChangeLog 2020-01-12 07:16:40 UTC (rev 254412)
+++ trunk/Source/WTF/ChangeLog 2020-01-12 07:44:15 UTC (rev 254413)
@@ -5,6 +5,18 @@
Unreviewed.
+ Fix build.
+
+ * wtf/cocoa/LanguageCocoa.mm:
+ (WTF::canMinimizeLanguages):
+
+2020-01-11 Myles C. Maxfield <[email protected]>
+
+ 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.
+
Addressing additional review comments.
* wtf/cocoa/LanguageCocoa.mm:
Modified: trunk/Source/WTF/wtf/cocoa/LanguageCocoa.mm (254412 => 254413)
--- trunk/Source/WTF/wtf/cocoa/LanguageCocoa.mm 2020-01-12 07:16:40 UTC (rev 254412)
+++ trunk/Source/WTF/wtf/cocoa/LanguageCocoa.mm 2020-01-12 07:44:15 UTC (rev 254413)
@@ -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
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes