Changeset 139890 in webkit
- Timestamp:
- Jan 16, 2013 10:00:17 AM (11 years ago)
- Location:
- trunk/Source/WebCore
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebCore/ChangeLog
r139889 r139890 1 2013-01-16 Claudio Saavedra <csaavedra@igalia.com> 2 3 [GTK] Safeguard against possible NULL-dereference 4 https://bugs.webkit.org/show_bug.cgi?id=104931 5 6 Reviewed by Martin Robinson. 7 8 * accessibility/atk/WebKitAccessibleWrapperAtk.cpp: 9 (webkitAccessibleGetIndexInParent): Move the NULL-safeguard to a 10 place where it actually makes sense. 11 1 12 2013-01-16 Avi Drissman <avi@google.com> 2 13 -
trunk/Source/WebCore/accessibility/atk/WebKitAccessibleWrapperAtk.cpp
r139250 r139890 408 408 AccessibilityObject* parent = coreObject->parentObjectUnignored(); 409 409 410 if (!parent)411 return -1;412 413 410 if (!parent && isRootObject(coreObject)) { 414 411 AtkObject* atkParent = atkParentOfRootObject(object); … … 430 427 if (parent && parent->isTableRow() && coreObject->isTableCell()) 431 428 return getIndexInParentForCellInRow(coreObject); 429 430 if (!parent) 431 return -1; 432 432 433 433 size_t index = parent->children().find(coreObject);
Note: See TracChangeset
for help on using the changeset viewer.