1 ------------------------------------------------------------------------
2 r250747 | commit-queue@webkit.org | 2019-10-04 23:51:37 +0200 (pią, 04 paź 2019) | 16 lines
4 Fix build with icu 65.1
5 https://bugs.webkit.org/show_bug.cgi?id=202600
7 Patch by Heiko Becker <heirecka@exherbo.org> on 2019-10-04
8 Reviewed by Konstantin Tokarev.
13 (WebCore::isValidNameNonASCII):
14 (WebCore::Document::parseQualifiedName):
19 (WTF::URLHelpers::allCharactersInIDNScriptWhiteList):
21 Index: Source/WebCore/dom/Document.cpp
22 ===================================================================
23 --- Source/WebCore/dom/Document.cpp (revision 250746)
24 +++ Source/WebCore/dom/Document.cpp (revision 250747)
25 @@ -4954,12 +4954,12 @@
29 - U16_NEXT(characters, i, length, c)
30 + U16_NEXT(characters, i, length, c);
31 if (!isValidNameStart(c))
35 - U16_NEXT(characters, i, length, c)
36 + U16_NEXT(characters, i, length, c);
37 if (!isValidNamePart(c))
42 for (unsigned i = 0; i < length; ) {
44 - U16_NEXT(qualifiedName, i, length, c)
45 + U16_NEXT(qualifiedName, i, length, c);
48 return Exception { InvalidCharacterError };
50 ------------------------------------------------------------------------