| Index: components/url_formatter/url_formatter.cc
|
| diff --git a/components/url_formatter/url_formatter.cc b/components/url_formatter/url_formatter.cc
|
| index 4455db3e6337ac6ff4e09a02becb5a1ea6a1cd74..2b82c0cc493a0ae06e500980cbb91f09d42e0287 100644
|
| --- a/components/url_formatter/url_formatter.cc
|
| +++ b/components/url_formatter/url_formatter.cc
|
| @@ -428,9 +428,9 @@ void IDNSpoofChecker::SetAllowedUnicodeSet(UErrorCode* status) {
|
| // section at
|
| // http://www.unicode.org/Public/security/latest/xidmodifications.txt) are
|
| // are added to the allowed set. The list has to be updated when a new
|
| - // version of Unicode is released. The current version is 8.0.0 and ICU 58
|
| - // will have Unicode 9.0 data.
|
| -#if U_ICU_VERSION_MAJOR_NUM < 58
|
| + // version of Unicode is released. The current version is 9.0.0 and ICU 60
|
| + // will have Unicode 10.0 data.
|
| +#if U_ICU_VERSION_MAJOR_NUM < 60
|
| const icu::UnicodeSet aspirational_scripts(
|
| icu::UnicodeString(
|
| // Unified Canadian Syllabics
|
| @@ -444,13 +444,13 @@ void IDNSpoofChecker::SetAllowedUnicodeSet(UErrorCode* status) {
|
| // Yi
|
| "\\uA000-\\uA48C"
|
| // Miao
|
| - "\\U00016F00-\\U00016F44\\U00016F50-\\U00016F7F"
|
| + "\\U00016F00-\\U00016F44\\U00016F50-\\U00016F7E"
|
| "\\U00016F8F-\\U00016F9F]",
|
| -1, US_INV),
|
| *status);
|
| allowed_set.addAll(aspirational_scripts);
|
| #else
|
| -#error "Update aspirational_scripts per Unicode 9.0"
|
| +#error "Update aspirational_scripts per Unicode 10.0"
|
| #endif
|
|
|
| // U+0338 is included in the recommended set, while U+05F4 and U+2027 are in
|
|
|