bug 1261144 - move GetAccessibleAt to EmbeddedObjCollector r=lsocks

This commit is contained in:
Trevor Saunders 2016-03-30 16:26:47 -04:00
parent ddf532b5f7
commit 57ae90bd8b
2 changed files with 6 additions and 6 deletions

View File

@ -30,7 +30,7 @@ EmbeddedObjCollector::Count()
}
Accessible*
AccCollector::GetAccessibleAt(uint32_t aIndex)
EmbeddedObjCollector::GetAccessibleAt(uint32_t aIndex)
{
Accessible* accessible = mObjects.SafeElementAt(aIndex, nullptr);
if (accessible)

View File

@ -24,11 +24,6 @@ public:
AccCollector(Accessible* aRoot, filters::FilterFuncPtr aFilterFunc);
virtual ~AccCollector();
/**
* Return an accessible from the collection at the given index.
*/
Accessible* GetAccessibleAt(uint32_t aIndex);
/**
* Return index of the given accessible within the collection.
*/
@ -79,6 +74,11 @@ public:
*/
uint32_t Count();
/**
* Return an accessible from the collection at the given index.
*/
Accessible* GetAccessibleAt(uint32_t aIndex);
protected:
// Make sure it's used by Accessible class only.
explicit EmbeddedObjCollector(Accessible* aRoot) :