Title: [291329] trunk/Source/WebCore
Revision
291329
Author
[email protected]
Date
2022-03-15 21:06:29 -0700 (Tue, 15 Mar 2022)

Log Message

[GLIB] REGRESSION(r291257): Unreviewed, fix build when using ATK
https://bugs.webkit.org/show_bug.cgi?id=237939

r291257 renamed RenderStyle::textDecoration() to
RenderStyle::textDecorationLine() in the ATSPI module, but it missed
to do the same for the ATK module.

ATK is still in use when building with flag -DUSE_ATSPI=OFF, which is
used by Ubuntu 18.04 and Debian Stable bots.


* accessibility/atk/WebKitAccessibleInterfaceText.cpp:
(getAttributeSetForAccessibilityObject):

Modified Paths

Diff

Modified: trunk/Source/WebCore/ChangeLog (291328 => 291329)


--- trunk/Source/WebCore/ChangeLog	2022-03-16 03:51:02 UTC (rev 291328)
+++ trunk/Source/WebCore/ChangeLog	2022-03-16 04:06:29 UTC (rev 291329)
@@ -1,3 +1,18 @@
+2022-03-15  Diego Pino Garcia  <[email protected]>
+
+        [GLIB] REGRESSION(r291257): Unreviewed, fix build when using ATK
+        https://bugs.webkit.org/show_bug.cgi?id=237939
+
+        r291257 renamed RenderStyle::textDecoration() to
+        RenderStyle::textDecorationLine() in the ATSPI module, but it missed
+        to do the same for the ATK module.
+
+        ATK is still in use when building with flag -DUSE_ATSPI=OFF, which is
+        used by Ubuntu 18.04 and Debian Stable bots.
+
+        * accessibility/atk/WebKitAccessibleInterfaceText.cpp:
+        (getAttributeSetForAccessibilityObject):
+
 2022-03-15  Eric Carlson  <[email protected]>
 
         Video poster disappears prematurely on play, leaving transparent video element.

Modified: trunk/Source/WebCore/accessibility/atk/WebKitAccessibleInterfaceText.cpp (291328 => 291329)


--- trunk/Source/WebCore/accessibility/atk/WebKitAccessibleInterfaceText.cpp	2022-03-16 03:51:02 UTC (rev 291328)
+++ trunk/Source/WebCore/accessibility/atk/WebKitAccessibleInterfaceText.cpp	2022-03-16 04:06:29 UTC (rev 291329)
@@ -164,11 +164,11 @@
         result = addToAtkAttributeSet(result, atk_text_attribute_get_name(ATK_TEXT_ATTR_JUSTIFICATION), "fill");
     }
 
-    result = addToAtkAttributeSet(result, atk_text_attribute_get_name(ATK_TEXT_ATTR_UNDERLINE), (style->textDecoration() & TextDecorationLine::Underline) ? "single" : "none");
+    result = addToAtkAttributeSet(result, atk_text_attribute_get_name(ATK_TEXT_ATTR_UNDERLINE), (style->textDecorationLine() & TextDecorationLine::Underline) ? "single" : "none");
 
     result = addToAtkAttributeSet(result, atk_text_attribute_get_name(ATK_TEXT_ATTR_STYLE), style->fontCascade().italic() ? "italic" : "normal");
 
-    result = addToAtkAttributeSet(result, atk_text_attribute_get_name(ATK_TEXT_ATTR_STRIKETHROUGH), (style->textDecoration() & TextDecorationLine::LineThrough) ? "true" : "false");
+    result = addToAtkAttributeSet(result, atk_text_attribute_get_name(ATK_TEXT_ATTR_STRIKETHROUGH), (style->textDecorationLine() & TextDecorationLine::LineThrough) ? "true" : "false");
 
     result = addToAtkAttributeSet(result, atk_text_attribute_get_name(ATK_TEXT_ATTR_INVISIBLE), (style->visibility() == Visibility::Hidden) ? "true" : "false");
 
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to