Bug 606924, part5 - rename GetCachedAccessible, r=fer, a=final+

This commit is contained in:
Alexander Surkov
2011-01-28 12:37:08 +08:00
parent 06a04f33b8
commit a68fa392b0
8 changed files with 28 additions and 20 deletions

View File

@@ -243,7 +243,7 @@ NotificationController::WillRefresh(mozilla::TimeStamp aTime)
nsIContent* ownerContent = mDocument->GetDocumentNode()->
FindContentForSubDocument(childDoc->GetDocumentNode());
if (ownerContent) {
nsAccessible* outerDocAcc = mDocument->GetCachedAccessible(ownerContent);
nsAccessible* outerDocAcc = mDocument->GetAccessible(ownerContent);
if (outerDocAcc && outerDocAcc->AppendChild(childDoc)) {
if (mDocument->AppendChildDocument(childDoc)) {
// Fire reorder event to notify new accessible document has been