Bug 339310 mAccChildCount should be PRInt32 instead of PRUint32
r=aaronleventhal git-svn-id: svn://10.0.0.236/trunk@198548 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
parent
9fe4b2aad8
commit
a9339f1e76
@ -61,7 +61,7 @@ class nsIAtom;
|
||||
|
||||
// Saves a data member -- if child count equals this value we haven't
|
||||
// cached children or child count yet
|
||||
enum { eChildCountUninitialized = 0xffffffff };
|
||||
enum { eChildCountUninitialized = -1 };
|
||||
|
||||
struct nsStateMapEntry
|
||||
{
|
||||
@ -194,7 +194,7 @@ protected:
|
||||
nsCOMPtr<nsIAccessible> mParent;
|
||||
nsIAccessible *mFirstChild, *mNextSibling;
|
||||
nsRoleMapEntry *mRoleMapEntry; // Non-null indicates author-supplied role; possibly state & value as well
|
||||
PRUint32 mAccChildCount;
|
||||
PRInt32 mAccChildCount;
|
||||
|
||||
static nsRoleMapEntry gWAIRoleMap[];
|
||||
static nsStateMapEntry gDisabledStateMap;
|
||||
|
||||
@ -189,7 +189,7 @@ void nsHTMLImageAccessible::CacheChildren(PRBool aWalkAnonContent)
|
||||
|
||||
nsCOMPtr<nsIAccessible> areaAccessible;
|
||||
nsCOMPtr<nsPIAccessible> privatePrevAccessible;
|
||||
while (mAccChildCount < numMapAreas &&
|
||||
while (mAccChildCount < (PRInt32)numMapAreas &&
|
||||
(areaAccessible = CreateAreaAccessible(mAccChildCount)) != nsnull) {
|
||||
if (privatePrevAccessible) {
|
||||
privatePrevAccessible->SetNextSibling(areaAccessible);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user