Changeset 243864 in webkit
- Timestamp:
- Apr 3, 2019 10:53:30 PM (5 years ago)
- Location:
- trunk/Source/WebCore
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebCore/ChangeLog
r243859 r243864 1 2019-04-03 Carlos Garcia Campos <cgarcia@igalia.com> 2 3 [ATK] Wrong index passed to AtkObject::children-changed::add signal in AXObjectCache::attachWrapper() 4 https://bugs.webkit.org/show_bug.cgi?id=196538 5 6 Reviewed by Michael Catanzaro. 7 8 In most of the cases the parent is not found, probably because the child is not a direct descendant of the 9 parent returned by parentObjectUnignored(). We need to handle the case of find() returning notFound. 10 11 * accessibility/atk/AXObjectCacheAtk.cpp: 12 (WebCore::AXObjectCache::attachWrapper): Use -1 as the index when find() returns notFound. 13 1 14 2019-04-03 Timothy Hatcher <timothy@apple.com> 2 15 -
trunk/Source/WebCore/accessibility/atk/AXObjectCacheAtk.cpp
r239535 r243864 100 100 101 101 size_t index = coreParent->children(false).find(obj); 102 g_signal_emit_by_name(atkParent, "children-changed::add", index , atkObj);102 g_signal_emit_by_name(atkParent, "children-changed::add", index != notFound ? index : -1, atkObj); 103 103 } 104 104
Note: See TracChangeset
for help on using the changeset viewer.