Title: [285994] trunk/Source/WebCore
- Revision
- 285994
- Author
- [email protected]
- Date
- 2021-11-18 02:43:19 -0800 (Thu, 18 Nov 2021)
Log Message
Unreviewed. Fix GTK build with ATSPI enaled after r285904
* accessibility/atspi/AccessibilityObjectTextAtspi.cpp:
(WebCore::AccessibilityObjectAtspi::textAttributes const):
Modified Paths
Diff
Modified: trunk/Source/WebCore/ChangeLog (285993 => 285994)
--- trunk/Source/WebCore/ChangeLog 2021-11-18 10:34:22 UTC (rev 285993)
+++ trunk/Source/WebCore/ChangeLog 2021-11-18 10:43:19 UTC (rev 285994)
@@ -1,3 +1,10 @@
+2021-11-18 Carlos Garcia Campos <[email protected]>
+
+ Unreviewed. Fix GTK build with ATSPI enaled after r285904
+
+ * accessibility/atspi/AccessibilityObjectTextAtspi.cpp:
+ (WebCore::AccessibilityObjectAtspi::textAttributes const):
+
2021-11-18 Youenn Fablet <[email protected]>
MediaPlayerAVFoundation should support rvfc
Modified: trunk/Source/WebCore/accessibility/atspi/AccessibilityObjectTextAtspi.cpp (285993 => 285994)
--- trunk/Source/WebCore/accessibility/atspi/AccessibilityObjectTextAtspi.cpp 2021-11-18 10:34:22 UTC (rev 285993)
+++ trunk/Source/WebCore/accessibility/atspi/AccessibilityObjectTextAtspi.cpp 2021-11-18 10:43:19 UTC (rev 285994)
@@ -757,8 +757,8 @@
addAttributeIfNeeded("size"_s, makeString(std::round(style.computedFontPixelSize() * 72 / WebCore::screenDPI()), "pt"));
addAttributeIfNeeded("weight"_s, makeString(static_cast<float>(style.fontCascade().weight())));
addAttributeIfNeeded("style"_s, style.fontCascade().italic() ? "italic" : "normal");
- addAttributeIfNeeded("strikethrough"_s, style.textDecoration() & TextDecoration::LineThrough ? "true" : "false");
- addAttributeIfNeeded("underline"_s, style.textDecoration() & TextDecoration::Underline ? "single" : "none");
+ addAttributeIfNeeded("strikethrough"_s, style.textDecoration() & TextDecorationLine::LineThrough ? "true" : "false");
+ addAttributeIfNeeded("underline"_s, style.textDecoration() & TextDecorationLine::Underline ? "single" : "none");
addAttributeIfNeeded("invisible"_s, style.visibility() == Visibility::Hidden ? "true" : "false");
addAttributeIfNeeded("editable"_s, m_coreObject->canSetValueAttribute() ? "true" : "false");
addAttributeIfNeeded("direction"_s, style.direction() == TextDirection::LTR ? "ltr" : "rtl");
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes