Title: [287173] trunk/Source/WebCore
Revision
287173
Author
clo...@igalia.com
Date
2021-12-16 22:01:14 -0800 (Thu, 16 Dec 2021)

Log Message

REGRESSION(r287138) [GLIB] Build failure with GCC 8 and 9 in std::array to Span conversion
https://bugs.webkit.org/show_bug.cgi?id=234412

Reviewed by Darin Adler.

GCC < 10 and Clang < 7 have problems doing the conversion of the value if its marked const.

No new tests, is a build fix.

* accessibility/AccessibilityRenderObject.cpp:
(WebCore::AccessibilityRenderObject::inheritsPresentationalRole const):

Modified Paths

Diff

Modified: trunk/Source/WebCore/ChangeLog (287172 => 287173)


--- trunk/Source/WebCore/ChangeLog	2021-12-17 05:54:37 UTC (rev 287172)
+++ trunk/Source/WebCore/ChangeLog	2021-12-17 06:01:14 UTC (rev 287173)
@@ -1,3 +1,17 @@
+2021-12-16  Carlos Alberto Lopez Perez  <clo...@igalia.com>
+
+        REGRESSION(r287138) [GLIB] Build failure with GCC 8 and 9 in std::array to Span conversion
+        https://bugs.webkit.org/show_bug.cgi?id=234412
+
+        Reviewed by Darin Adler.
+
+        GCC < 10 and Clang < 7 have problems doing the conversion of the value if its marked const.
+
+        No new tests, is a build fix.
+
+        * accessibility/AccessibilityRenderObject.cpp:
+        (WebCore::AccessibilityRenderObject::inheritsPresentationalRole const):
+
 2021-12-16  Alex Christensen  <achristen...@webkit.org>
 
         Remove more NPAPI plugin code

Modified: trunk/Source/WebCore/accessibility/AccessibilityRenderObject.cpp (287172 => 287173)


--- trunk/Source/WebCore/accessibility/AccessibilityRenderObject.cpp	2021-12-17 05:54:37 UTC (rev 287172)
+++ trunk/Source/WebCore/accessibility/AccessibilityRenderObject.cpp	2021-12-17 06:01:14 UTC (rev 287173)
@@ -3214,7 +3214,7 @@
     // those child elements are also presentational. For example, <li> becomes presentational from <ul>.
     // http://www.w3.org/WAI/PF/aria/complete#presentation
 
-    Span<const LazyNeverDestroyed<const HTMLQualifiedName>* const> parentTags;
+    Span<LazyNeverDestroyed<const HTMLQualifiedName>* const> parentTags;
     switch (roleValue()) {
     case AccessibilityRole::ListItem:
     case AccessibilityRole::ListMarker: {
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to