From 41e5eec243aa6e3cfc94942a0741dbebb587df9f Mon Sep 17 00:00:00 2001 From: Alexander Surkov Date: Mon, 26 Mar 2012 13:42:28 +0900 Subject: [PATCH] Bug 736059 - fix comments --- accessible/src/base/nsAccessible.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/accessible/src/base/nsAccessible.cpp b/accessible/src/base/nsAccessible.cpp index c19c42ea4859..55f9a72e57c5 100644 --- a/accessible/src/base/nsAccessible.cpp +++ b/accessible/src/base/nsAccessible.cpp @@ -1352,8 +1352,8 @@ nsAccessible::GetAttributes(nsIPersistentProperties **aAttributes) nsresult nsAccessible::GetAttributesInternal(nsIPersistentProperties *aAttributes) { - // Don't calculate content based object attributes for not primary for the - // DOM node accessible (like list bullet or XUL tree items). + // If the accessible isn't primary for its node (such as list item bullet or + // xul tree item then don't calculate content based attributes. if (!IsPrimaryForNode()) return NS_OK; @@ -1423,7 +1423,7 @@ nsAccessible::GetAttributesInternal(nsIPersistentProperties *aAttributes) } // Don't calculate CSS-based object attributes when no frame (i.e. - // the accessible is unattached from the three). + // the accessible is unattached from the tree). if (!mContent->GetPrimaryFrame()) return NS_OK;