bug 673403 - check return of GetParent() and rename to Parent() r=surkov

This commit is contained in:
Trevor Saunders
2011-07-23 01:38:33 -07:00
parent 39bdd11fe5
commit d6e71fe9f3
25 changed files with 138 additions and 123 deletions

View File

@@ -374,8 +374,8 @@ NotificationController::CoalesceEvents()
return;
}
} else if (tailEvent->mEventType == nsIAccessibleEvent::EVENT_SHOW) {
if (thisEvent->mAccessible->GetParent() ==
tailEvent->mAccessible->GetParent()) {
if (thisEvent->mAccessible->Parent() ==
tailEvent->mAccessible->Parent()) {
tailEvent->mEventRule = thisEvent->mEventRule;
// Coalesce text change events for show events.