------------------------------------------------------------------------ r250747 | commit-queue@webkit.org | 2019-10-04 23:51:37 +0200 (pią, 04 paź 2019) | 16 lines Fix build with icu 65.1 https://bugs.webkit.org/show_bug.cgi?id=202600 Patch by Heiko Becker on 2019-10-04 Reviewed by Konstantin Tokarev. Source/WebCore: * dom/Document.cpp: (WebCore::isValidNameNonASCII): (WebCore::Document::parseQualifiedName): Source/WTF: * wtf/URLHelpers.cpp: (WTF::URLHelpers::allCharactersInIDNScriptWhiteList): Index: Source/WebCore/dom/Document.cpp =================================================================== --- Source/WebCore/dom/Document.cpp (revision 250746) +++ Source/WebCore/dom/Document.cpp (revision 250747) @@ -4954,12 +4954,12 @@ unsigned i = 0; UChar32 c; - U16_NEXT(characters, i, length, c) + U16_NEXT(characters, i, length, c); if (!isValidNameStart(c)) return false; while (i < length) { - U16_NEXT(characters, i, length, c) + U16_NEXT(characters, i, length, c); if (!isValidNamePart(c)) return false; } @@ -5019,7 +5019,7 @@ for (unsigned i = 0; i < length; ) { UChar32 c; - U16_NEXT(qualifiedName, i, length, c) + U16_NEXT(qualifiedName, i, length, c); if (c == ':') { if (sawColon) return Exception { InvalidCharacterError }; ------------------------------------------------------------------------