⚠ Archived content — this site is no longer maintained.   Current WebKit documentation is at docs.webkit.org.

Changeset 285994 in webkit


Ignore:
Timestamp:
Nov 18, 2021, 2:43:19 AM (5 years ago)
Author:
Carlos Garcia Campos
Message:

Unreviewed. Fix GTK build with ATSPI enaled after r285904

  • accessibility/atspi/AccessibilityObjectTextAtspi.cpp:

(WebCore::AccessibilityObjectAtspi::textAttributes const):

Location:
trunk/Source/WebCore
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebCore/ChangeLog

    r285993 r285994  
     12021-11-18  Carlos Garcia Campos  <cgarcia@igalia.com>
     2
     3        Unreviewed. Fix GTK build with ATSPI enaled after r285904
     4
     5        * accessibility/atspi/AccessibilityObjectTextAtspi.cpp:
     6        (WebCore::AccessibilityObjectAtspi::textAttributes const):
     7
    182021-11-18  Youenn Fablet  <youenn@apple.com>
    29
  • trunk/Source/WebCore/accessibility/atspi/AccessibilityObjectTextAtspi.cpp

    r285339 r285994  
    758758            addAttributeIfNeeded("weight"_s, makeString(static_cast<float>(style.fontCascade().weight())));
    759759            addAttributeIfNeeded("style"_s, style.fontCascade().italic() ? "italic" : "normal");
    760             addAttributeIfNeeded("strikethrough"_s, style.textDecoration() & TextDecoration::LineThrough ? "true" : "false");
    761             addAttributeIfNeeded("underline"_s, style.textDecoration() & TextDecoration::Underline ? "single" : "none");
     760            addAttributeIfNeeded("strikethrough"_s, style.textDecoration() & TextDecorationLine::LineThrough ? "true" : "false");
     761            addAttributeIfNeeded("underline"_s, style.textDecoration() & TextDecorationLine::Underline ? "single" : "none");
    762762            addAttributeIfNeeded("invisible"_s, style.visibility() == Visibility::Hidden ? "true" : "false");
    763763            addAttributeIfNeeded("editable"_s, m_coreObject->canSetValueAttribute() ? "true" : "false");
Note: See TracChangeset for help on using the changeset viewer.