It can use U16_NEXT() instead.
Created attachment 233673 [details] Patch
<rdar://problem/17430091>
Comment on attachment 233673 [details] Patch Clearing flags on attachment: 233673 Committed r170402: <http://trac.webkit.org/changeset/170402>
All reviewed patches have been landed. Closing bug.
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.