RESOLVED FIXED 133591
advanceByCombiningCharacterSequence() can be simplified
https://bugs.webkit.org/show_bug.cgi?id=133591
Summary advanceByCombiningCharacterSequence() can be simplified
Myles C. Maxfield
Reported 2014-06-06 16:57:36 PDT
It can use U16_NEXT() instead.
Attachments
Patch (1.94 KB, patch)
2014-06-23 20:15 PDT, Myles C. Maxfield
no flags
Myles C. Maxfield
Comment 1 2014-06-23 20:15:49 PDT
Radar WebKit Bug Importer
Comment 2 2014-06-23 20:19:32 PDT
WebKit Commit Bot
Comment 3 2014-06-24 16:32:56 PDT
Comment on attachment 233673 [details] Patch Clearing flags on attachment: 233673 Committed r170402: <http://trac.webkit.org/changeset/170402>
WebKit Commit Bot
Comment 4 2014-06-24 16:32:59 PDT
All reviewed patches have been landed. Closing bug.
Darin Adler
Comment 5 2014-06-25 19:34:08 PDT
Comment on attachment 233673 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=233673&action=review > Source/WebCore/platform/graphics/mac/ComplexTextController.cpp:275 > + if (U16_IS_SURROGATE(baseCharacter)) Technically this is incorrect. Since the argument is a UChar32, it should just be U_IS_SURROGATE. But in practice this will work since U16_IS_SURROGATE just calls U_IS_SURROGATE.
Note You need to log in before you can comment on or make changes to this bug.