mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-24 13:21:05 +00:00
0ed15e0a86
In bug 1766794, I replaced partial invalidation of cached offsets with full cache invalidation. I did this to simplify the code, since the offsets cache was being extended to RemoteAccessible. This is fine for RemoteAccessible because offsets are only needed there when clients query them. However, for local HyperTextAccessible, offsets are always required to fire text events. Full cache invalidation there meant that many insertions into a large container was very expensive. To fix this, reinstate the ability to partially invalidate the offsets cache. This is largely the code I previously removed from HyperTextAccessible, with some tweaks for readability. Differential Revision: https://phabricator.services.mozilla.com/D163418 |
||
---|---|---|
.. | ||
Accessible.cpp | ||
Accessible.h | ||
HyperTextAccessibleBase.cpp | ||
HyperTextAccessibleBase.h | ||
moz.build | ||
TableAccessibleBase.h | ||
TableCellAccessibleBase.h |