Fix hitTestWithReply by making the action map global.
The problem was that if you call hitTestWithReply on a node in one tree (like the desktop, typically the most logical place to call it), it was storing the callback in a map specific to that try. But then when the hit test result came back via an event on the correct target node, that node might be in a different tree - and that tree had its own map from action IDs to callbacks. Tested by manually calling desktop.hitTestWithReply with coordinates in the middle of the feedback link on the www.chromevox.com homepage. Bug: 818108 Change-Id: I5b995f381f6e260ddcb0f7a1f58a64d0682af949 Reviewed-on: https://chromium-review.googlesource.com/1074490 Commit-Queue: Dominic Mazzoni <dmazzoni@chromium.org> Reviewed-by:David Tseng <dtseng@chromium.org> Cr-Commit-Position: refs/heads/master@{#562578}
Showing
Please register or sign in to comment