• Dominic Mazzoni's avatar
    Free up accessibility tree resources from hidden frames. · 11805ff0
    Dominic Mazzoni authored
    When a frame is hidden, replace its accessibility tree with just the root,
    and suppress all accessibility events in that tree while it's hidden.
    By keeping the root in the tree, this allows us to propagate the change
    to the browser process and free up resources there too.
    
    The goal is that having lots of tabs open shouldn't significantly impact
    your experience.
    
    It may add a slight delay when switching to a tab.
    
    Bug: 854411
    Change-Id: I78b45e8f5772f0c9745ee59952f27f6ba3557bbc
    Reviewed-on: https://chromium-review.googlesource.com/1107207
    Commit-Queue: Dominic Mazzoni <dmazzoni@chromium.org>
    Reviewed-by: default avatarNektarios Paisios <nektar@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#569422}
    11805ff0
render_accessibility_impl.h 7.15 KB