Bug 1719554 - Unify most of nsUnicodeProperties.h; r=platform-i18n-reviewers,jfkthame,gregtatum,necko-reviewers,valentin
This unifies most of the calls in nsUnicodeProperties.h. CharType and Script will be handled in subsequent patches on this bug. Differential Revision: https://phabricator.services.mozilla.com/D132273
This commit is contained in:
@@ -177,7 +177,8 @@ enum HSType {
|
||||
};
|
||||
|
||||
static HSType GetHangulSyllableType(uint32_t aCh) {
|
||||
return HSType(u_getIntPropertyValue(aCh, UCHAR_HANGUL_SYLLABLE_TYPE));
|
||||
return HSType(intl::UnicodeProperties::GetIntPropertyValue(
|
||||
aCh, intl::UnicodeProperties::IntProperty::HangulSyllableType));
|
||||
}
|
||||
|
||||
void ClusterIterator::Next() {
|
||||
|
||||
Reference in New Issue
Block a user