| Index: Source/platform/fonts/UTF16TextIterator.h
|
| diff --git a/Source/platform/fonts/UTF16TextIterator.h b/Source/platform/fonts/UTF16TextIterator.h
|
| index c988cd9f900c5241c3fed25d3633e9955b0923da..6a2ec343fdd5c9f29cc3b531f24b35724766bbf6 100644
|
| --- a/Source/platform/fonts/UTF16TextIterator.h
|
| +++ b/Source/platform/fonts/UTF16TextIterator.h
|
| @@ -45,7 +45,7 @@ public:
|
| character = *m_characters;
|
| m_currentGlyphLength = 1;
|
|
|
| - if (character < hiraganaLetterSmallACharacter || consumeSlowCase(character)) {
|
| + if (!U16_IS_SURROGATE(character) || consumeSurrogatePair(character)) {
|
| if (U_GET_GC_MASK(character) & U_GC_M_MASK)
|
| consumeMultipleUChar();
|
| return true;
|
| @@ -68,9 +68,8 @@ public:
|
| unsigned glyphLength() const { return m_currentGlyphLength; }
|
|
|
| private:
|
| - bool consumeSlowCase(UChar32&);
|
| + bool consumeSurrogatePair(UChar32&);
|
| void consumeMultipleUChar();
|
| - UChar32 normalizeVoicingMarks();
|
|
|
| const UChar* m_characters;
|
| const UChar* m_charactersEnd;
|
|
|