зеркало из https://github.com/mozilla/gecko-dev.git
b65ec03904
If a client calls IAccessible2::nRelations, it's likely that it will next call IAccessible2::relations to query each relation. Furthermore, it's likely the client will call relationType and nTargets on each relation. Therefore, fetch all of this info when nRelations is called. The number of relations is immediately returned to the client. The rest of the info is cached and returned to the client when the appropriate methods are called. The info is only cached for one call; i.e. after the client calls relations once, the cache is dropped. This makes memory management simpler and lowers the risk of cache invalidation problems. MozReview-Commit-ID: IBoJbu42osG --HG-- extra : rebase_source : d1af83f4c6c0e7762299e9e3da95a67217157200 |
||
---|---|---|
.. | ||
other | ||
win | ||
DocAccessibleChildBase.cpp | ||
DocAccessibleChildBase.h | ||
DocAccessibleParent.cpp | ||
DocAccessibleParent.h | ||
IPCTypes.h | ||
ProxyAccessibleBase.cpp | ||
ProxyAccessibleBase.h | ||
ProxyAccessibleShared.h | ||
moz.build |