Revert "Count number of active touches in TouchActionFilter"
This reverts commit 0ee23351. Reason for revert: Top crash in canary and blocks dev release per bug 880021. Original change's description: > Count number of active touches in TouchActionFilter > > Right now we have a active_touch_in_progress_ to indicate whether there > is an active touch or not. It is true when we receive ACK for touch > start and false at touch end. > > From the current crash report, we are seeing multiple consecutive ack > for touch end, without any ack for touch start in between. > > This CL changes the active_touch_in_progress_ to num_of_active_touches_. > It is increased by one when we receive ack for touch start and decrease > by one at touch end. At touch end, we only reset touch action when this > number is zero. > > In theory, touch start and associated touch end should arrive in pair. > This CL does a DumpWithoutCrashing if this number is ever larger than > one. > > Bug: 851644 > Change-Id: I584f1aad56bf5bc5c08e20e3ae4ca36d5f9e3586 > Reviewed-on: https://chromium-review.googlesource.com/1196696 > Reviewed-by: Dave Tapuska <dtapuska@chromium.org> > Commit-Queue: Xida Chen <xidachen@chromium.org> > Cr-Commit-Position: refs/heads/master@{#587813} TBR=dtapuska@chromium.org,xidachen@chromium.org # Not skipping CQ checks because original CL landed > 1 day ago. Bug: 851644, 880021 Change-Id: I265b573cef100ff6210683e7f5ec01dfcb28ea9f Reviewed-on: https://chromium-review.googlesource.com/1205923Reviewed-by:Matt Falkenhagen <falken@chromium.org> Commit-Queue: Matt Falkenhagen <falken@chromium.org> Cr-Commit-Position: refs/heads/master@{#588791}
Showing
Please register or sign in to comment