Commit ce12dbae authored by aaronleventhal%moonset.net's avatar aaronleventhal%moonset.net
Browse files

Bustage fix

parent cf8cfd98
Loading
Loading
Loading
Loading
+0 −4
Original line number Diff line number Diff line
@@ -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
%}
};
+4 −2
Original line number Diff line number Diff line
@@ -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)
{