Handle swipes with no preceding scroll events
I incorrectly assumed that any ET_GESTURE_SWIPE would be preceded by an ET_GESTURE_SCROLL_BEGIN. Sometimes this is not the case, and this caused a DCHECK. This change handles swipes that weren't preceded by a scroll event. Bug: None Change-Id: I535e43a10e6f6162080af4ba4b85a8fefc8e2cd6 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2128091Reviewed-by:dpapad <dpapad@chromium.org> Commit-Queue: Collin Baker <collinbaker@chromium.org> Cr-Commit-Position: refs/heads/master@{#754717}
Showing
Please register or sign in to comment