DescriptionThe GestureRecognizer should never map an ID to a NULL consumer
The current implementation of
GestureRecognizerImpl::GetTargetForGestureEvent() will insert a
mapping between a touch ID and a NULL GestureConsumer to
|touch_id_target_for_gestures_| if queried with a touch ID that
does not already exist in the map. Use .at() instead of []
to avoid this possibility.
BUG=403346
TEST=none
Committed: https://crrev.com/e59a6e0f1513a92ceaf4725171cee420214b2c3b
Cr-Commit-Position: refs/heads/master@{#307986}
Patch Set 1 #
Total comments: 1
Patch Set 2 : . #Patch Set 3 : nullptr #Messages
Total messages: 7 (2 generated)
|