Fix AXPlatformNodeWin::Navigate DCHECK with PDF loaded
This is similar to the issue fixed in crrev.com/c/1532893 and follow-up crrev.com/c/1535165. When the PDF plugin sends its accessibility tree to the browser process, we would incorrectly detect that the PDF tree is the root tree and switch out the node tracked by the UIA fragment root as its lone child. The fix is to check for a parent tree ID when determining whether a given tree is the root tree. Bug: 968245 Change-Id: I91a193064a51f9694eb4338af7a12f2fbf22dd30 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1636480Reviewed-by:Nektarios Paisios <nektar@chromium.org> Commit-Queue: Kevin Babbitt <kbabbitt@microsoft.com> Cr-Commit-Position: refs/heads/master@{#665222}
Showing
Please register or sign in to comment