Fix accessibility hit testing issue on Mac
https://crrev.com/c/2117330 refactored accessibility hit testing to use physical pixel coordinates consistently but overlooked the fact that MacOS passes hit test points in device-independent coordinates. This CL scales the input by device scale factor to compensate. Test will come in a follow-up CL. Bug: 1086819 AX-Relnotes: Fixes an issue with accessibility hit testing on the Mac. Change-Id: I3fcc2cee34082e58d7fd38fdc219672680674095 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2225334Reviewed-by:Dominic Mazzoni <dmazzoni@chromium.org> Commit-Queue: Kevin Babbitt <kbabbitt@microsoft.com> Cr-Commit-Position: refs/heads/master@{#773765}
Showing
Please register or sign in to comment