author | Trevor Saunders <tbsaunde@tbsaunde.org> |
Wed, 23 Sep 2015 17:17:01 -0400 | |
changeset 264268 | 222b880291e00627b2de4ba198c0b5a1726e3dc6 |
parent 264267 | f2260d4a6b089bbad23c999d528ab31678061337 |
child 264269 | 33983344a8d986ab345a17d55a125b96926929cc |
push id | 65589 |
push user | tsaunders@mozilla.com |
push date | Thu, 24 Sep 2015 23:23:40 +0000 |
treeherder | mozilla-inbound@e9bb88c728f9 [default view] [failures only] |
perfherder | [talos] [build metrics] [platform microbench] (compared to previous push) |
reviewers | davidb |
bugs | 1207862 |
milestone | 44.0a1 |
first release with | nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
|
last release without | nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
|
--- a/accessible/ipc/DocAccessibleParent.h +++ b/accessible/ipc/DocAccessibleParent.h @@ -118,16 +118,20 @@ public: ProxyEntry* e = mAccessibles.GetEntry(aID); return e ? e->mProxy : nullptr; } const ProxyAccessible* GetAccessible(uintptr_t aID) const { return const_cast<DocAccessibleParent*>(this)->GetAccessible(aID); } + size_t ChildDocCount() const { return mChildDocs.Length(); } + const DocAccessibleParent* ChildDocAt(size_t aIdx) const + { return mChildDocs[aIdx]; } + private: class ProxyEntry : public PLDHashEntryHdr { public: explicit ProxyEntry(const void*) : mProxy(nullptr) {} ProxyEntry(ProxyEntry&& aOther) : mProxy(aOther.mProxy) { aOther.mProxy = nullptr; }