Title: [250747] trunk/Source
Revision
250747
Author
[email protected]
Date
2019-10-04 14:51:37 -0700 (Fri, 04 Oct 2019)

Log Message

Fix build with icu 65.1
https://bugs.webkit.org/show_bug.cgi?id=202600

Patch by Heiko Becker <[email protected]> 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):

Modified Paths

Diff

Modified: trunk/Source/WTF/ChangeLog (250746 => 250747)


--- trunk/Source/WTF/ChangeLog	2019-10-04 21:35:36 UTC (rev 250746)
+++ trunk/Source/WTF/ChangeLog	2019-10-04 21:51:37 UTC (rev 250747)
@@ -1,3 +1,13 @@
+2019-10-04  Heiko Becker  <[email protected]>
+
+        Fix build with icu 65.1
+        https://bugs.webkit.org/show_bug.cgi?id=202600
+
+        Reviewed by Konstantin Tokarev.
+
+        * wtf/URLHelpers.cpp:
+        (WTF::URLHelpers::allCharactersInIDNScriptWhiteList):
+
 2019-10-04  Truitt Savell  <[email protected]>
 
         Unreviewed, rolling out r250583.

Modified: trunk/Source/WTF/wtf/URLHelpers.cpp (250746 => 250747)


--- trunk/Source/WTF/wtf/URLHelpers.cpp	2019-10-04 21:35:36 UTC (rev 250746)
+++ trunk/Source/WTF/wtf/URLHelpers.cpp	2019-10-04 21:51:37 UTC (rev 250747)
@@ -301,7 +301,7 @@
     Optional<UChar32> previousCodePoint;
     while (i < length) {
         UChar32 c;
-        U16_NEXT(buffer, i, length, c)
+        U16_NEXT(buffer, i, length, c);
         UErrorCode error = U_ZERO_ERROR;
         UScriptCode script = uscript_getScript(c, &error);
         if (error != U_ZERO_ERROR) {

Modified: trunk/Source/WebCore/ChangeLog (250746 => 250747)


--- trunk/Source/WebCore/ChangeLog	2019-10-04 21:35:36 UTC (rev 250746)
+++ trunk/Source/WebCore/ChangeLog	2019-10-04 21:51:37 UTC (rev 250747)
@@ -1,3 +1,14 @@
+2019-10-04  Heiko Becker  <[email protected]>
+
+        Fix build with icu 65.1
+        https://bugs.webkit.org/show_bug.cgi?id=202600
+
+        Reviewed by Konstantin Tokarev.
+
+        * dom/Document.cpp:
+        (WebCore::isValidNameNonASCII):
+        (WebCore::Document::parseQualifiedName):
+
 2019-10-04  James Darpinian  <[email protected]>
 
         Allow using WebGL 2 when USE_ANGLE=1

Modified: trunk/Source/WebCore/dom/Document.cpp (250746 => 250747)


--- trunk/Source/WebCore/dom/Document.cpp	2019-10-04 21:35:36 UTC (rev 250746)
+++ trunk/Source/WebCore/dom/Document.cpp	2019-10-04 21:51:37 UTC (rev 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 };
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to