Commit a0e09cbb authored by Justin Cohen's avatar Justin Cohen Committed by Commit Bot

ios: Fix CRWTouchTrackingRecognizer state machine cancel error.

Bug: 1081716
Change-Id: I48aa648d4ee6fc38e5fba36689814431e2cb56be
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2238463Reviewed-by: default avatarEugene But <eugenebut@chromium.org>
Reviewed-by: default avatarGauthier Ambard <gambard@chromium.org>
Commit-Queue: Justin Cohen <justincohen@chromium.org>
Cr-Commit-Position: refs/heads/master@{#776933}
parent 84a440a4
...@@ -46,6 +46,7 @@ ...@@ -46,6 +46,7 @@
- (void)touchesCancelled:(NSSet*)touches withEvent:(UIEvent*)event { - (void)touchesCancelled:(NSSet*)touches withEvent:(UIEvent*)event {
[super touchesCancelled:touches withEvent:event]; [super touchesCancelled:touches withEvent:event];
self.state = UIGestureRecognizerStateCancelled;
[self.touchTrackingDelegate touched:NO]; [self.touchTrackingDelegate touched:NO];
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment