diff options
author | Michael Stahl <mstahl@redhat.com> | 2016-02-25 23:24:53 +0100 |
---|---|---|
committer | Michael Stahl <mstahl@redhat.com> | 2016-02-26 13:09:41 +0100 |
commit | b299aa7c64adc2de86c367888e6ccb73c4b31bc2 (patch) | |
tree | 4f7c1e957ce2afe7d2d3b17c91376c85f859466b /cppuhelper/source | |
parent | c4727a06fe16ed88f2c293aaa3506df8e6523678 (diff) |
sw: restore some Dispose calls in a11y code
These were removed by commit a5c4ddcf8ed5344d9bceeffd7431cd6895a407ca
but the assertions inevitably triggered by their removal in the
~SwAccessibleMap about "Frame map should be empty after disposing the
root frame" were left intact, which (along the total lack of any stated
reason) casts some doubt on how well thought out that change was.
Basically SwAccessibleMap had the invariant that only visible frames had
a valid SwAccessible in the mpFrameMap, and when the frames scrolled
out of view their SwAccessible was disposed.
Let's try to restore this invariant.
The dispose removal has caused crashes in the past too, see
commit 104ed86c382b73505b477bf3024982dd27823023.
Change-Id: I4b3e7264ce76a8c6e551d68f6bc231982970dfdd
Diffstat (limited to 'cppuhelper/source')
0 files changed, 0 insertions, 0 deletions