Check if touch target is stale before dispatching.
If a touch target is not in the |owner_map| anymore, it's already been deleted; fallback to INPUT_EVENT_ACK_STATE_NO_CONSUMER_EXISTS and DumpWithoutCrashing to help debugging why |host| can be null in ProcessTouchEvent. Bug: 814674 Change-Id: Ibf3faf1344f43760c4a60155316c193a78a61018 Reviewed-on: https://chromium-review.googlesource.com/1160795 Commit-Queue: Ria Jiang <riajiang@chromium.org> Reviewed-by:Ken Buchanan <kenrb@chromium.org> Cr-Commit-Position: refs/heads/master@{#580546}
Showing
Please register or sign in to comment