Changeset 289016 in webkit
- Timestamp:
- Feb 2, 2022, 4:48:32 PM (4 years ago)
- Location:
- trunk/Source/WebCore
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebCore/ChangeLog
r289014 r289016 1 2022-02-02 Lauro Moura <lmoura@igalia.com> 2 3 [GLIB] Unreviewed debug buildfix after r288872 4 https://bugs.webkit.org/show_bug.cgi?id=236036 5 6 The actual issue was the roleNames array provided to SortedArrayMap 7 constructor wasn't fully ordered, making isSortedConstExpr to fail, 8 generating the call to WTFReport..., which is non-constexpr and thus 9 the compile failure. 10 11 This commit revert the previous fix from r288990 and fix the ordering of 12 roleNames. 13 14 * accessibility/atspi/AccessibilityAtspi.cpp: 15 (WebCore::AccessibilityAtspi::localizedRoleName): 16 1 17 2022-02-02 Antoine Quint <graouts@webkit.org> 2 18 -
trunk/Source/WebCore/accessibility/atspi/AccessibilityAtspi.cpp
r288990 r289016 603 603 { AccessibilityRole::Deletion, { "content deletion", N_("content deletion") } }, 604 604 { AccessibilityRole::DescriptionList, { "description list", N_("description list") } }, 605 { AccessibilityRole::DescriptionListDetail, { "description value", N_("description value") } }, 605 606 { AccessibilityRole::DescriptionListTerm, { "description term", N_("description term") } }, 606 { AccessibilityRole::DescriptionListDetail, { "description value", N_("description value") } },607 607 { AccessibilityRole::Directory, { "directory pane", N_("directory pane") } }, 608 608 { AccessibilityRole::Div, { "section", N_("section") } }, … … 705 705 const char* AccessibilityAtspi::localizedRoleName(AccessibilityRole role) 706 706 { 707 static const SortedArrayMap roleNamesMap { roleNames };707 static constexpr SortedArrayMap roleNamesMap { roleNames }; 708 708 if (auto entry = roleNamesMap.tryGet(role)) 709 709 return entry->localizedName;
Note:
See TracChangeset
for help on using the changeset viewer.