[a11y switch access] Avoid using obsolete child node as the focus node
When fetching history record, the group stored in history updates. As a result, the focus node stored in history may not be a child of the group anymore. However, that obsolete node is still used as the preferred focus node. This CL fixes it. See comments under the issue for detailed analysis. Bug: 831407 Change-Id: I1e1553c4322408fb431b212d9e0397b95e7f50ed Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2482184Reviewed-by:David Tseng <dtseng@chromium.org> Commit-Queue: Andrew Xu <andrewxu@chromium.org> Cr-Commit-Position: refs/heads/master@{#818928}
Showing
Please register or sign in to comment