Bug 390280 - mac bustage fix, r=aaronlev, a=dsicore
authorsurkov.alexander@gmail.com
Fri, 10 Aug 2007 06:39:03 -0700
changeset 4453 87e4386d203a937affdb9617833926b74b4b5bb5
parent 4452 8e2f74a4f1bb63101651d74e8bd043dd1ccd644c
child 4454 9afe27f7971bd27c0f6f7b5a6a7d1a5ef2afb423
push id1
push userroot
push dateMon, 20 Oct 2014 17:29:22 +0000
reviewersaaronlev, dsicore
bugs390280
milestone1.9a8pre
Bug 390280 - mac bustage fix, r=aaronlev, a=dsicore
accessible/src/mac/nsAccessibleWrap.h
--- a/accessible/src/mac/nsAccessibleWrap.h
+++ b/accessible/src/mac/nsAccessibleWrap.h
@@ -84,17 +84,17 @@ class nsAccessibleWrap : public nsAccess
     // XXX There is no IsPruned() method, so what does that comment mean?
     PRBool IsFlat() {
       PRUint32 role = Role(this);
       return (role == nsIAccessibleRole::ROLE_CHECKBUTTON ||
               role == nsIAccessibleRole::ROLE_PUSHBUTTON ||
               role == nsIAccessibleRole::ROLE_TOGGLE_BUTTON ||
               role == nsIAccessibleRole::ROLE_SPLITBUTTON ||
               role == nsIAccessibleRole::ROLE_ENTRY ||
-              role == nsIAccessibleRole::ROLE_IMAGE);
+              role == nsIAccessibleRole::ROLE_GRAPHIC);
     }
     
     // ignored means that the accessible might still have children, but is not displayed
     // to the user. it also has no native accessible object represented for it.
     PRBool IsIgnored();
     
     PRInt32 GetUnignoredChildCount(PRBool aDeepCount);