mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-02-18 06:45:33 +00:00
Bustage fix
This commit is contained in:
parent
cf8cfd98f5
commit
ce12dbae16
@ -60,10 +60,6 @@ interface nsPIAccessible : nsISupports
|
||||
*/
|
||||
[noscript] readonly attribute boolean allowsAnonChildAccessibles;
|
||||
|
||||
%{C++
|
||||
#ifdef DEBUG_A11Y
|
||||
[noscript] void testChildCache(in nsIAccessible aCachedChild); // Assert if child not in parent's cache
|
||||
#endif
|
||||
%}
|
||||
};
|
||||
|
||||
|
@ -729,9 +729,11 @@ NS_IMETHODIMP nsAccessible::GetIndexInParent(PRInt32 *aIndexInParent)
|
||||
return NS_OK;
|
||||
}
|
||||
|
||||
#ifdef DEBUG_A11Y
|
||||
NS_IMETHODIMP nsAccessible::TestChildCache(nsIAccessible *aCachedChild)
|
||||
{
|
||||
#ifndef DEBUG_A11Y
|
||||
return NS_OK;
|
||||
#else
|
||||
// All cached accessible nodes should be in the parent
|
||||
// It will assert if not all the children were created
|
||||
// when they were first cached, and no invalidation
|
||||
@ -751,8 +753,8 @@ NS_IMETHODIMP nsAccessible::TestChildCache(nsIAccessible *aCachedChild)
|
||||
sibling = tempAccessible;
|
||||
}
|
||||
return NS_OK;
|
||||
}
|
||||
#endif
|
||||
}
|
||||
|
||||
nsresult nsAccessible::GetTranslatedString(const nsAString& aKey, nsAString& aStringOut)
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user